Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 218.4 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05095/0.05095, allocations: 9.156 MB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.44 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07918, allocations: 50.75 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02127/0.1004, allocations: 17.51 MB / 479.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1115, allocations: 10.12 MB / 489.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1116, allocations: 0 / 489.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.1124, allocations: 307.6 kB / 489.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1128, allocations: 147.3 kB / 489.9 MB, free: 0.5352 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01512/0.1279, allocations: 5.932 MB / 495.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.1282, allocations: 155.2 kB / 496 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.1282, allocations: 5.594 kB / 496 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.1285, allocations: 91.52 kB / 496.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1286, allocations: 55.77 kB / 496.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1286, allocations: 4 kB / 496.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/0.1455, allocations: 9.532 MB / 0.4938 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.1456, allocations: 11.94 kB / 0.4938 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1457, allocations: 43.8 kB / 0.4939 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.1538, allocations: 3.519 MB / 0.4973 GB, free: 13.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1538, allocations: 4 kB / 0.4973 GB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1538, allocations: 0 / 0.4973 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1538, allocations: 0 / 0.4973 GB, free: 13.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00175/0.1556, allocations: 0.7515 MB / 0.498 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1556, allocations: 15.98 kB / 0.4981 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.1557, allocations: 34.56 kB / 0.4981 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1557, allocations: 7.953 kB / 0.4981 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1558, allocations: 133 kB / 0.4982 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1559, allocations: 0 / 0.4982 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1559, allocations: 8 kB / 0.4982 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.1562, allocations: 117.6 kB / 0.4983 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1562, allocations: 0 / 0.4983 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1562, allocations: 8 kB / 0.4983 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1562, allocations: 0 / 0.4983 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1566, allocations: 139.9 kB / 0.4985 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.1571, allocations: 335.7 kB / 0.4988 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1574, allocations: 94.52 kB / 0.4989 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1576, allocations: 92.8 kB / 0.499 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009115/0.1667, allocations: 2.191 MB / 0.5011 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1667, allocations: 30.56 kB / 0.5011 GB, free: 9.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.1668, allocations: 0 / 0.5011 GB, free: 9.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007997/0.1675, allocations: 301.4 kB / 0.5014 GB, free: 8.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1676, allocations: 51.41 kB / 0.5015 GB, free: 8.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1677, allocations: 129.6 kB / 0.5016 GB, free: 8.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1677, allocations: 33.7 kB / 0.5016 GB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1678, allocations: 88.36 kB / 0.5017 GB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.1678, allocations: 39.64 kB / 0.5018 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.1679, allocations: 25.7 kB / 0.5018 GB, free: 8.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.168, allocations: 326.8 kB / 0.5021 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1682, allocations: 75.95 kB / 0.5022 GB, free: 7.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.1684, allocations: 75.94 kB / 0.5022 GB, free: 7.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.1688, allocations: 176.4 kB / 0.5024 GB, free: 7.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1688, allocations: 4 kB / 0.5024 GB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004622/0.1693, allocations: 205.5 kB / 0.5026 GB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1693, allocations: 8 kB / 0.5026 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1693, allocations: 0 / 0.5026 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1693, allocations: 3.984 kB / 0.5026 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1695, allocations: 23.98 kB / 0.5026 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1695, allocations: 0 / 0.5026 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1696, allocations: 19.91 kB / 0.5027 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1696, allocations: 4 kB / 0.5027 GB, free: 7.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.1697, allocations: 119.8 kB / 0.5028 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.1698, allocations: 11.91 kB / 0.5028 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.1704, allocations: 234.2 kB / 0.503 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1704, allocations: 0 / 0.503 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1704, allocations: 0 / 0.503 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1704, allocations: 3.984 kB / 0.503 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1706, allocations: 208.5 kB / 0.5032 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1706, allocations: 0 / 0.5032 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1708, allocations: 23.98 kB / 0.5032 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1708, allocations: 3.984 kB / 0.5032 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1708, allocations: 4 kB / 0.5033 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1708, allocations: 0 / 0.5033 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1708, allocations: 3.938 kB / 0.5033 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.1713, allocations: 311.3 kB / 0.5036 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1714, allocations: 11.94 kB / 0.5036 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1714, allocations: 7.938 kB / 0.5036 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1715, allocations: 15.97 kB / 0.5036 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.1716, allocations: 7.984 kB / 0.5036 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1716, allocations: 4 kB / 0.5036 GB, free: 6.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.1717, allocations: 99.27 kB / 0.5037 GB, free: 6.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1717, allocations: 0 / 0.5037 GB, free: 6.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002096/0.1738, allocations: 0.7435 MB / 0.5044 GB, free: 5.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004031/0.1778, allocations: 1.975 MB / 0.5063 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.1783, allocations: 171.8 kB / 0.5065 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1783, allocations: 0 / 0.5065 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.1785, allocations: 83.94 kB / 0.5066 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.179, allocations: 44.73 kB / 0.5066 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1804, allocations: 0.6241 MB / 0.5072 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1808, allocations: 0.6992 MB / 0.5079 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.1808, allocations: 8 kB / 0.5079 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.1809, allocations: 27.42 kB / 0.508 GB, free: 1.867 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1809, allocations: 0 / 0.508 GB, free: 1.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2595/0.4404, allocations: 26 MB / 0.5334 GB, free: 54.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.65, allocations: 10.14 kB / 0.5334 GB, free: 54.8 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.094448413932696] Failed to read output from testmodel.py, exit status != 0: 12.777179314987734 12.801749361 12.643417306 Calling exit ...