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.0009426/0.0009423, allocations: 100 kB / 15.05 MB, free: 1.105 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.00106/0.00106, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04338/0.04338, allocations: 9.067 MB / 279.4 MB, free: 12.25 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.0005305/0.0005308, allocations: 12 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09673, allocations: 49.19 MB / 388.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01656/0.1133, allocations: 15.11 MB / 403.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.1282, allocations: 14.94 MB / 418.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.1285, allocations: 0 / 418.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.1292, allocations: 259.1 kB / 418.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.1298, allocations: 211.4 kB / 418.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01741/0.1472, allocations: 5.891 MB / 424.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.1477, allocations: 235.5 kB / 425 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.1478, allocations: 20.23 kB / 425 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1482, allocations: 203.3 kB / 425.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1484, allocations: 91.64 kB / 425.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1484, allocations: 4 kB / 425.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2127/0.3611, allocations: 9.56 MB / 434.9 MB, free: 17.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.3612, allocations: 21.02 kB / 434.9 MB, free: 17.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.3614, allocations: 63.36 kB / 435 MB, free: 17.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00755/0.3689, allocations: 2.573 MB / 437.5 MB, free: 17.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.369, allocations: 0 / 437.5 MB, free: 17.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.369, allocations: 3.234 kB / 437.5 MB, free: 17.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.369, allocations: 5.062 kB / 437.5 MB, free: 17.43 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.004189/0.3732, allocations: 1.089 MB / 438.6 MB, free: 16.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3732, allocations: 9.812 kB / 438.6 MB, free: 16.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.3733, allocations: 48.11 kB / 438.7 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.3733, allocations: 16.31 kB / 438.7 MB, free: 16.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3735, allocations: 191.5 kB / 438.9 MB, free: 16.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3735, allocations: 6.5 kB / 438.9 MB, free: 16.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3735, allocations: 3.406 kB / 438.9 MB, free: 16.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.3739, allocations: 186.2 kB / 439.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3739, allocations: 0 / 439.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3739, allocations: 3.812 kB / 439.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3739, allocations: 5.781 kB / 439.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3744, allocations: 188 kB / 439.3 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.3746, allocations: 284.3 kB / 439.6 MB, free: 16.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.375, allocations: 198.2 kB / 439.7 MB, free: 16.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1351/0.5101, allocations: 92.01 MB / 0.5193 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.5102, allocations: 50.28 kB / 0.5193 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.5102, allocations: 0 / 0.5193 GB, free: 28 kB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.001291/0.5115, allocations: 0.9688 MB / 0.5203 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.5116, allocations: 61.97 kB / 0.5203 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5117, allocations: 135 kB / 0.5205 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5117, allocations: 29.58 kB / 0.5205 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.5118, allocations: 89.08 kB / 0.5206 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5119, allocations: 153.2 kB / 0.5207 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5119, allocations: 0 / 0.5207 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.512, allocations: 333.2 kB / 0.521 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.5122, allocations: 129.7 kB / 0.5212 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.5125, allocations: 140.1 kB / 0.5213 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.5127, allocations: 145.9 kB / 0.5214 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5128, allocations: 0 / 0.5214 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006038/0.5134, allocations: 352.7 kB / 0.5218 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5134, allocations: 8 kB / 0.5218 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5134, allocations: 3.953 kB / 0.5218 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5134, allocations: 0 / 0.5218 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.5136, allocations: 31.97 kB / 0.5218 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5136, allocations: 4 kB / 0.5218 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.5138, allocations: 35.67 kB / 0.5219 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.5139, allocations: 4 kB / 0.5219 GB, free: 13.66 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.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 initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.514, allocations: 127 kB / 0.522 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.514, allocations: 30.3 kB / 0.522 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007575/0.5148, allocations: 429.3 kB / 0.5224 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.5148, allocations: 15.19 kB / 0.5224 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5148, allocations: 0 / 0.5224 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5148, allocations: 0 / 0.5224 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.5151, allocations: 282.6 kB / 0.5227 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5151, allocations: 0 / 0.5227 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.5153, allocations: 31.97 kB / 0.5227 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5153, allocations: 7.609 kB / 0.5227 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5153, allocations: 7.25 kB / 0.5228 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5153, allocations: 4.25 kB / 0.5228 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5153, allocations: 0 / 0.5228 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.5159, allocations: 393.8 kB / 0.5231 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.5161, allocations: 121.3 kB / 0.5232 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5161, allocations: 7.516 kB / 0.5233 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.5162, allocations: 19.98 kB / 0.5233 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.5163, allocations: 14.78 kB / 0.5233 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5163, allocations: 4 kB / 0.5233 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.538e-05/0.5164, allocations: 101.8 kB / 0.5234 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5164, allocations: 1.531 kB / 0.5234 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00458/0.521, allocations: 1.119 MB / 0.5245 GB, free: 11.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00576/0.5267, allocations: 2.502 MB / 0.5269 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.5274, allocations: 320.6 kB / 0.5272 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5274, allocations: 0 / 0.5272 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.5277, allocations: 178.6 kB / 0.5274 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.5285, allocations: 154.7 kB / 0.5275 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.5306, allocations: 0.9981 MB / 0.5285 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5309, allocations: 0.7404 MB / 0.5292 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.531, allocations: 16.42 kB / 0.5293 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.5311, allocations: 49.61 kB / 0.5293 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5311, allocations: 4 kB / 0.5293 GB, free: 6.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.5876, allocations: 32.68 MB / 0.5612 GB, free: 6.281 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.5878, allocations: 212.2 kB / 0.5614 GB, free: 6.031 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.204, allocations: 0 / 0.5614 GB, free: 6.031 MB / 446.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/linux/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) Environment - environmentSimulation: