Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.001323/0.001323, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001549/0.001549, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.394/1.394, allocations: 207.6 MB / 233 MB, free: 9.984 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.06846/0.06846, allocations: 9.147 MB / 294.4 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.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",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.002201/0.002201, allocations: 72.42 kB / 411.1 MB, free: 46.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06538/0.06758, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02394/0.09152, allocations: 18.49 MB / 480.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.1108, allocations: 16.45 MB / 496.8 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1109, allocations: 0 / 496.8 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.1117, allocations: 326.6 kB / 497.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1119, allocations: 131.3 kB / 497.2 MB, free: 9.203 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/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01759/0.1295, allocations: 7.464 MB / 0.4928 GB, free: 1.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1299, allocations: 250.7 kB / 0.4931 GB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.13, allocations: 13.19 kB / 0.4931 GB, free: 1.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1302, allocations: 103.6 kB / 0.4932 GB, free: 1.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1303, allocations: 63.72 kB / 0.4932 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1303, allocations: 4 kB / 0.4933 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.1494, allocations: 10.54 MB / 0.5035 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.1494, allocations: 7.938 kB / 0.5036 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1495, allocations: 63.67 kB / 0.5036 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009382/0.1589, allocations: 4.279 MB / 0.5078 GB, free: 2.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1589, allocations: 4 kB / 0.5078 GB, free: 2.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1589, allocations: 0 / 0.5078 GB, free: 2.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1589, allocations: 0 / 0.5078 GB, free: 2.391 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002027/0.161, allocations: 0.9068 MB / 0.5087 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.161, allocations: 15.98 kB / 0.5087 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.161, allocations: 42.55 kB / 0.5087 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1611, allocations: 11.91 kB / 0.5087 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1612, allocations: 125 kB / 0.5089 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.1612, allocations: 4 kB / 0.5089 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1612, allocations: 4 kB / 0.5089 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1614, allocations: 121.4 kB / 0.509 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1615, allocations: 7.922 kB / 0.509 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1615, allocations: 0 / 0.509 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1615, allocations: 15.98 kB / 0.509 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1616, allocations: 79.97 kB / 0.5091 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1619, allocations: 236.3 kB / 0.5093 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.162, allocations: 94.55 kB / 0.5094 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1621, allocations: 80.91 kB / 0.5095 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2861/0.4483, allocations: 27.44 MB / 0.5363 GB, free: 70.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4483, allocations: 34.56 kB / 0.5363 GB, free: 70.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.4483, allocations: 0 / 0.5363 GB, free: 70.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0004298/0.4487, allocations: 345.9 kB / 0.5366 GB, free: 70.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.4487, allocations: 52.5 kB / 0.5367 GB, free: 70.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/0.4488, allocations: 106.7 kB / 0.5368 GB, free: 70 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4488, allocations: 30.58 kB / 0.5368 GB, free: 69.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.4488, allocations: 86.17 kB / 0.5369 GB, free: 69.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.4489, allocations: 129.5 kB / 0.537 GB, free: 69.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.4489, allocations: 39.03 kB / 0.5371 GB, free: 69.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.4489, allocations: 326.2 kB / 0.5374 GB, free: 69.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.449, allocations: 79.69 kB / 0.5375 GB, free: 69.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.4491, allocations: 81.38 kB / 0.5375 GB, free: 69.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.4493, allocations: 209 kB / 0.5377 GB, free: 69.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4493, allocations: 1.375 kB / 0.5377 GB, free: 69.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000228/0.4495, allocations: 250.2 kB / 0.538 GB, free: 69.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4495, allocations: 7.375 kB / 0.538 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4495, allocations: 0 / 0.538 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4495, allocations: 1.406 kB / 0.538 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.4495, allocations: 0 / 0.538 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.4495, allocations: 0 / 0.538 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.4496, allocations: 16.12 kB / 0.538 GB, free: 69.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4496, allocations: 3.25 kB / 0.538 GB, free: 69.1 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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 5.878e-05/0.4497, allocations: 126.8 kB / 0.5381 GB, free: 68.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.4497, allocations: 17.39 kB / 0.5381 GB, free: 68.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.45, allocations: 387.3 kB / 0.5385 GB, free: 68.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4501, allocations: 6.047 kB / 0.5385 GB, free: 68.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4501, allocations: 0 / 0.5385 GB, free: 68.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4501, allocations: 4 kB / 0.5385 GB, free: 68.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4502, allocations: 215.4 kB / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4502, allocations: 0 / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.4502, allocations: 0 / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4502, allocations: 1.188 kB / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.4502, allocations: 0.9688 kB / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4502, allocations: 1.75 kB / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4502, allocations: 1.031 kB / 0.5387 GB, free: 68.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4505, allocations: 244.4 kB / 0.539 GB, free: 68.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.4505, allocations: 19 kB / 0.539 GB, free: 68.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4505, allocations: 1.938 kB / 0.539 GB, free: 68.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.4505, allocations: 1.531 kB / 0.539 GB, free: 68.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.4506, allocations: 5.672 kB / 0.539 GB, free: 68.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.4506, allocations: 1.531 kB / 0.539 GB, free: 68.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.4506, allocations: 104.1 kB / 0.5391 GB, free: 68.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4506, allocations: 0 / 0.5391 GB, free: 68.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002002/0.4526, allocations: 1.112 MB / 0.5402 GB, free: 68.1 MB / 398.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: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003543/0.4562, allocations: 2.317 MB / 0.5424 GB, free: 66.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4563, allocations: 156.7 kB / 0.5426 GB, free: 66.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4563, allocations: 0 / 0.5426 GB, free: 66.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.4564, allocations: 74.48 kB / 0.5427 GB, free: 66.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.4572, allocations: 144.6 kB / 0.5428 GB, free: 66.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.4589, allocations: 2.32 MB / 0.5451 GB, free: 65.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.459, allocations: 0.7157 MB / 0.5458 GB, free: 64.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.4591, allocations: 6.359 kB / 0.5458 GB, free: 64.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.4591, allocations: 38.08 kB / 0.5458 GB, free: 64.29 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4591, allocations: 0 / 0.5458 GB, free: 64.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05939/0.5185, allocations: 32.33 MB / 0.5774 GB, free: 32.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.43, allocations: 7.812 kB / 0.5774 GB, free: 32.29 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.910226602805778] Failed to read output from testmodel.py, exit status != 0: 12.562741339905187 12.57769235 12.416460907 Calling exit ...