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.0007314/0.0007315, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008005/0.0008005, allocations: 168.7 kB / 15.95 MB, free: 200 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.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04186/0.04186, allocations: 9.063 MB / 279.5 MB, free: 12.26 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.0004665/0.0004666, allocations: 16 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06947/0.06995, allocations: 49.18 MB / 388.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01601/0.08601, allocations: 16.76 MB / 405.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.1018, allocations: 16.46 MB / 421.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.102, allocations: 4 kB / 421.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.1026, allocations: 246.9 kB / 421.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.1031, allocations: 186.8 kB / 422.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01532/0.1184, allocations: 5.683 MB / 427.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.1188, allocations: 326.2 kB / 428.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.1189, allocations: 28.12 kB / 428.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.1192, allocations: 143.3 kB / 428.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1194, allocations: 103.6 kB / 428.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1194, allocations: 4 kB / 428.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1565/0.2759, allocations: 8.579 MB / 436.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.276, allocations: 23.69 kB / 436.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2762, allocations: 62.98 kB / 437 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.2814, allocations: 2.662 MB / 439.7 MB, free: 19.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2814, allocations: 0 / 439.7 MB, free: 19.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2814, allocations: 0 / 439.7 MB, free: 19.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2814, allocations: 0.9062 kB / 439.7 MB, free: 19.4 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.002769/0.2842, allocations: 1.084 MB / 440.8 MB, free: 18.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2842, allocations: 14.53 kB / 440.8 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.2843, allocations: 47.59 kB / 440.8 MB, free: 18.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2843, allocations: 16.09 kB / 440.8 MB, free: 18.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.2844, allocations: 197.4 kB / 441 MB, free: 18.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.2844, allocations: 2.719 kB / 441 MB, free: 18.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2845, allocations: 4.594 kB / 441 MB, free: 18.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.2848, allocations: 186 kB / 441.2 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2848, allocations: 0 / 441.2 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2848, allocations: 5.094 kB / 441.2 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.2849, allocations: 6.984 kB / 441.2 MB, free: 18.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.2852, allocations: 184.6 kB / 441.4 MB, free: 18.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.2855, allocations: 281.7 kB / 441.7 MB, free: 18.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.2858, allocations: 202.6 kB / 441.9 MB, free: 18.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.286, allocations: 169.6 kB / 442 MB, free: 18.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1154/0.4014, allocations: 91.75 MB / 0.5213 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4015, allocations: 36.7 kB / 0.5213 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.4015, allocations: 0 / 0.5213 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.0009614/0.4025, allocations: 0.5057 MB / 0.5218 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.4025, allocations: 55.28 kB / 0.5219 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4026, allocations: 141.6 kB / 0.522 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4027, allocations: 29.7 kB / 0.522 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.4027, allocations: 88.95 kB / 0.5221 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.4028, allocations: 149.9 kB / 0.5223 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.4028, allocations: 6.25 kB / 0.5223 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.403, allocations: 331.6 kB / 0.5226 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.4032, allocations: 130.7 kB / 0.5227 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.4035, allocations: 133.1 kB / 0.5228 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.4037, allocations: 144.9 kB / 0.523 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4037, allocations: 0 / 0.523 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005701/0.4043, allocations: 357.6 kB / 0.5233 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4043, allocations: 13.77 kB / 0.5233 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4043, allocations: 4 kB / 0.5233 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4044, allocations: 0.875 kB / 0.5233 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4046, allocations: 31.97 kB / 0.5234 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4046, allocations: 0 / 0.5234 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4047, allocations: 34.98 kB / 0.5234 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.4048, allocations: 8 kB / 0.5234 GB, free: 14.15 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 9.683e-05/0.4049, allocations: 133.9 kB / 0.5235 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.4049, allocations: 19.72 kB / 0.5235 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.4056, allocations: 436.8 kB / 0.524 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.4056, allocations: 7.969 kB / 0.524 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4056, allocations: 3.625 kB / 0.524 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4057, allocations: 0 / 0.524 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4059, allocations: 290.9 kB / 0.5242 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4059, allocations: 0 / 0.5242 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.4061, allocations: 35.92 kB / 0.5243 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4061, allocations: 0 / 0.5243 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4061, allocations: 0 / 0.5243 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4061, allocations: 4 kB / 0.5243 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4061, allocations: 2.719 kB / 0.5243 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.4067, allocations: 397.8 kB / 0.5247 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.4068, allocations: 119.2 kB / 0.5248 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4068, allocations: 7.625 kB / 0.5248 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.407, allocations: 15.98 kB / 0.5248 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.407, allocations: 23.59 kB / 0.5248 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.407, allocations: 0 / 0.5248 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.4071, allocations: 102.3 kB / 0.5249 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.4071, allocations: 0 / 0.5249 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002944/0.4101, allocations: 1.117 MB / 0.526 GB, free: 11.69 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.006212/0.4163, allocations: 2.489 MB / 0.5284 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.4169, allocations: 328.2 kB / 0.5288 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.417, allocations: 0 / 0.5288 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.4172, allocations: 183.2 kB / 0.5289 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.4181, allocations: 161.3 kB / 0.5291 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.4209, allocations: 0.9883 MB / 0.5301 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.4212, allocations: 0.7399 MB / 0.5308 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.4213, allocations: 16.42 kB / 0.5308 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.4214, allocations: 56.42 kB / 0.5308 GB, free: 7.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4214, allocations: 0 / 0.5308 GB, free: 7.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.4762, allocations: 32.7 MB / 0.5628 GB, free: 6.754 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.4764, allocations: 213.9 kB / 0.563 GB, free: 6.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.134, allocations: 0 / 0.563 GB, free: 6.512 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: