Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 200 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.14/4.14, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.3036/0.3036, allocations: 9.09 MB / 278.4 MB, free: 12.37 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.84 kB / 337.4 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09819, allocations: 48.16 MB / 385.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.019/0.1172, allocations: 18.38 MB / 404 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.1337, allocations: 17.98 MB / 422 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.1339, allocations: 0 / 422 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008166/0.1348, allocations: 270.8 kB / 422.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.1354, allocations: 206.7 kB / 422.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2379/0.3733, allocations: 5.981 MB / 428.4 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.3738, allocations: 339.1 kB / 428.7 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.191e-05/0.3739, allocations: 16.16 kB / 428.7 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.3742, allocations: 152.9 kB / 428.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.3744, allocations: 94.16 kB / 429 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3744, allocations: 4.344 kB / 429 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02007/0.3945, allocations: 9.688 MB / 438.7 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.3946, allocations: 27.05 kB / 438.7 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.3949, allocations: 97.28 kB / 438.8 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.409, allocations: 4.334 MB / 443.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4091, allocations: 0 / 443.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4091, allocations: 0 / 443.1 MB, free: 16.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4091, allocations: 3.344 kB / 443.1 MB, free: 16.16 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003602/0.4127, allocations: 1.085 MB / 444.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4128, allocations: 11.53 kB / 444.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.4128, allocations: 49.03 kB / 444.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.4129, allocations: 22.84 kB / 444.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.413, allocations: 196.7 kB / 444.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4131, allocations: 7.375 kB / 444.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.4131, allocations: 2.844 kB / 444.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.4135, allocations: 171.7 kB / 444.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4135, allocations: 0.7188 kB / 444.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4135, allocations: 1.812 kB / 444.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4135, allocations: 11.67 kB / 444.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.4139, allocations: 156.5 kB / 444.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.4142, allocations: 285.6 kB / 445.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.4145, allocations: 185.3 kB / 445.3 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.4147, allocations: 158.7 kB / 445.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1478/0.5626, allocations: 93.61 MB / 0.5264 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5626, allocations: 35.38 kB / 0.5265 GB, free: 7.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.826e-06/0.5627, allocations: 0 / 0.5265 GB, free: 7.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001115/0.5638, allocations: 484.6 kB / 0.5269 GB, free: 7.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5638, allocations: 55.39 kB / 0.527 GB, free: 7.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.564, allocations: 137.4 kB / 0.5271 GB, free: 6.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.564, allocations: 33.7 kB / 0.5271 GB, free: 6.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.5641, allocations: 89.31 kB / 0.5272 GB, free: 6.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5642, allocations: 153.9 kB / 0.5274 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.5643, allocations: 49.59 kB / 0.5274 GB, free: 6.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5644, allocations: 330.8 kB / 0.5277 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.5647, allocations: 117 kB / 0.5279 GB, free: 6.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.5649, allocations: 122.1 kB / 0.528 GB, free: 6.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.5655, allocations: 284.7 kB / 0.5282 GB, free: 5.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5655, allocations: 5.25 kB / 0.5282 GB, free: 5.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006055/0.5661, allocations: 337.8 kB / 0.5286 GB, free: 5.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5661, allocations: 4.766 kB / 0.5286 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5661, allocations: 0.875 kB / 0.5286 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5662, allocations: 0 / 0.5286 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5663, allocations: 23.97 kB / 0.5286 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5663, allocations: 4 kB / 0.5286 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.5665, allocations: 28.5 kB / 0.5286 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.5665, allocations: 8 kB / 0.5286 GB, free: 5.387 MB / 414.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 (12): * Single equations (assignments): 6 * 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 0.00011/0.5667, allocations: 129.8 kB / 0.5288 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.5667, allocations: 20.92 kB / 0.5288 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.5675, allocations: 411 kB / 0.5292 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.5675, allocations: 11.86 kB / 0.5292 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5675, allocations: 0 / 0.5292 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5675, allocations: 4.359 kB / 0.5292 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.5678, allocations: 291.2 kB / 0.5295 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5678, allocations: 0 / 0.5295 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.568, allocations: 27.91 kB / 0.5295 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.568, allocations: 4 kB / 0.5295 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.568, allocations: 4 kB / 0.5295 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.568, allocations: 0 / 0.5295 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.568, allocations: 0 / 0.5295 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.5686, allocations: 379.9 kB / 0.5299 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5688, allocations: 120.7 kB / 0.53 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.5688, allocations: 0 / 0.53 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.5689, allocations: 19.98 kB / 0.53 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.569, allocations: 15.97 kB / 0.53 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.569, allocations: 0 / 0.53 GB, free: 3.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.008e-05/0.5691, allocations: 103.3 kB / 0.5301 GB, free: 3.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5691, allocations: 0 / 0.5301 GB, free: 3.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003526/0.5726, allocations: 1.118 MB / 0.5312 GB, free: 2.688 MB / 414.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: 6 (state.phase,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 (12): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.006786/0.5794, allocations: 2.49 MB / 0.5336 GB, free: 352 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.5802, allocations: 292.9 kB / 0.5339 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5802, allocations: 0 / 0.5339 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.5805, allocations: 168.3 kB / 0.5341 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008803/0.5814, allocations: 156 kB / 0.5342 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.5845, allocations: 0.9961 MB / 0.5352 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5848, allocations: 0.7371 MB / 0.5359 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.5849, allocations: 14.17 kB / 0.5359 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.585, allocations: 47.42 kB / 0.536 GB, free: 13.91 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.585, allocations: 0 / 0.536 GB, free: 13.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.641, allocations: 33.05 MB / 0.5682 GB, free: 12.96 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.6414, allocations: 229.9 kB / 0.5685 GB, free: 12.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/3.734, allocations: 0 / 0.5685 GB, free: 12.7 MB / 462.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1)