Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_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.001479/0.001479, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001659/0.001659, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.285/1.285, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] 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.04952/0.04952, allocations: 9.15 MB / 295.2 MB, free: 12.7 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.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="cs",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.002013/0.002013, allocations: 70.67 kB / 411.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06459/0.06661, allocations: 50.76 MB / 462.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01998/0.08659, allocations: 17.41 MB / 480 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.1015, allocations: 14.3 MB / 494.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.1016, allocations: 0 / 494.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.1025, allocations: 427.6 kB / 494.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.1057, allocations: 1.605 MB / 496.3 MB, free: 10.87 MB / 366.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.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01163/0.1173, allocations: 5.137 MB / 0.4897 GB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1175, allocations: 147.1 kB / 0.4899 GB, free: 5.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.1176, allocations: 13.25 kB / 0.4899 GB, free: 5.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1177, allocations: 63.72 kB / 0.4899 GB, free: 5.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.1178, allocations: 43.8 kB / 0.49 GB, free: 5.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1178, allocations: 0 / 0.49 GB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01722/0.135, allocations: 10.35 MB / 0.5001 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.135, allocations: 15.91 kB / 0.5001 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1351, allocations: 55.69 kB / 0.5001 GB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00884/0.144, allocations: 3.791 MB / 0.5039 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.144, allocations: 3.984 kB / 0.5039 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.144, allocations: 4 kB / 0.5039 GB, free: 7.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.144, allocations: 0 / 0.5039 GB, free: 7.195 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001613/0.1456, allocations: 0.7863 MB / 0.5046 GB, free: 6.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1456, allocations: 11.98 kB / 0.5046 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.1457, allocations: 8 kB / 0.5046 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1457, allocations: 46.55 kB / 0.5047 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.1458, allocations: 19.89 kB / 0.5047 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1459, allocations: 113.1 kB / 0.5048 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1459, allocations: 8 kB / 0.5048 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1459, allocations: 0 / 0.5048 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.1463, allocations: 234.5 kB / 0.505 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1463, allocations: 0 / 0.505 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1463, allocations: 4 kB / 0.5051 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1463, allocations: 15.92 kB / 0.5051 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.1467, allocations: 444 kB / 0.5055 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.147, allocations: 286.5 kB / 0.5058 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1472, allocations: 190.8 kB / 0.5059 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1474, allocations: 177.1 kB / 0.5061 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.1593, allocations: 2.795 MB / 0.5088 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1594, allocations: 34.56 kB / 0.5089 GB, free: 1.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.1594, allocations: 0 / 0.5089 GB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007606/0.1601, allocations: 0.6135 MB / 0.5095 GB, free: 1.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1602, allocations: 51.41 kB / 0.5095 GB, free: 1.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.1602, allocations: 105.8 kB / 0.5096 GB, free: 1.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1602, allocations: 25.7 kB / 0.5097 GB, free: 1.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.1603, allocations: 80.8 kB / 0.5097 GB, free: 1.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.1604, allocations: 138.8 kB / 0.5099 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.1605, allocations: 33.7 kB / 0.5099 GB, free: 0.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1606, allocations: 326.8 kB / 0.5102 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1608, allocations: 167.9 kB / 0.5104 GB, free: 348 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1609, allocations: 179.8 kB / 0.5105 GB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.1613, allocations: 387.8 kB / 0.5109 GB, free: 15.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1613, allocations: 0 / 0.5109 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004725/0.1618, allocations: 451.7 kB / 0.5113 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1618, allocations: 10.66 kB / 0.5113 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1618, allocations: 0 / 0.5113 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1618, allocations: 0 / 0.5113 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.1619, allocations: 16 kB / 0.5114 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1619, allocations: 3.984 kB / 0.5114 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.162, allocations: 23.81 kB / 0.5114 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.162, allocations: 0 / 0.5114 GB, free: 15.28 MB / 398.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.636e-05/0.1621, allocations: 129.8 kB / 0.5115 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1621, allocations: 15.84 kB / 0.5115 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.1628, allocations: 0.6279 MB / 0.5121 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1628, allocations: 4 kB / 0.5121 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1628, allocations: 0 / 0.5121 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1628, allocations: 0 / 0.5121 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.1638, allocations: 0.9038 MB / 0.513 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1638, allocations: 4.344 kB / 0.513 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.1638, allocations: 27.92 kB / 0.5131 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1638, allocations: 4 kB / 0.5131 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1638, allocations: 7.938 kB / 0.5131 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1638, allocations: 4 kB / 0.5131 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1639, allocations: 4 kB / 0.5131 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1642, allocations: 277.5 kB / 0.5133 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.1642, allocations: 8 kB / 0.5133 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1642, allocations: 27.81 kB / 0.5134 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1643, allocations: 0 / 0.5134 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.1643, allocations: 19.92 kB / 0.5134 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1643, allocations: 4 kB / 0.5134 GB, free: 12.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1645, allocations: 171.2 kB / 0.5136 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1645, allocations: 0 / 0.5136 GB, free: 12.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001983/0.1665, allocations: 0.8098 MB / 0.5144 GB, free: 12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004118/0.1706, allocations: 2.068 MB / 0.5164 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.171, allocations: 267.8 kB / 0.5166 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.171, allocations: 3.938 kB / 0.5166 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.1711, allocations: 75.91 kB / 0.5167 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.1716, allocations: 92.5 kB / 0.5168 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.175, allocations: 2.916 MB / 0.5196 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1754, allocations: 0.7084 MB / 0.5203 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.917e-05/0.1754, allocations: 16.09 kB / 0.5203 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.1755, allocations: 47.36 kB / 0.5204 GB, free: 5.59 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1755, allocations: 0 / 0.5204 GB, free: 5.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2254/0.4009, allocations: 29.47 MB / 0.5492 GB, free: 57.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.93, allocations: 15.61 kB / 0.5492 GB, free: 57.98 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.306194214033894] Failed to read output from testmodel.py, exit status != 0: 12.104088712949306 12.115686924 11.969201408 Calling exit ...