Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",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.001017/0.001017, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009762/0.0009761, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 4.337/4.337, allocations: 9.087 MB / 278.5 MB, free: 12.35 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.001594/0.001593, allocations: 63.84 kB / 337.6 MB, free: 25.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09522, allocations: 48.17 MB / 385.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01892/0.1142, allocations: 18.06 MB / 403.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009657/0.1239, allocations: 11.06 MB / 414.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.124, allocations: 0 / 414.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.1241, allocations: 7.922 kB / 414.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000904/0.125, allocations: 330.4 kB / 415.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01407/0.1391, allocations: 4.732 MB / 420 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1394, allocations: 159.2 kB / 420.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.1394, allocations: 8 kB / 420.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1397, allocations: 83.58 kB / 420.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1398, allocations: 51.77 kB / 420.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1398, allocations: 8 kB / 420.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2262/0.366, allocations: 8.01 MB / 428.3 MB, free: 20.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.3661, allocations: 23.91 kB / 428.3 MB, free: 20.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3662, allocations: 41.52 kB / 428.3 MB, free: 20.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.3781, allocations: 3.412 MB / 431.8 MB, free: 20.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3781, allocations: 1.75 kB / 431.8 MB, free: 20.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3781, allocations: 0.5625 kB / 431.8 MB, free: 20.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3782, allocations: 0.625 kB / 431.8 MB, free: 20.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.002883/0.381, allocations: 0.7993 MB / 432.6 MB, free: 19.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3811, allocations: 9.156 kB / 432.6 MB, free: 19.97 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3812, allocations: 33.81 kB / 432.6 MB, free: 19.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3813, allocations: 22.44 kB / 432.6 MB, free: 19.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.3814, allocations: 174.7 kB / 432.8 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3814, allocations: 3.375 kB / 432.8 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3815, allocations: 3.281 kB / 432.8 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.3818, allocations: 104.5 kB / 432.9 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3818, allocations: 1.906 kB / 432.9 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3819, allocations: 0 / 432.9 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3819, allocations: 2.594 kB / 432.9 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.3823, allocations: 104.2 kB / 433 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.3827, allocations: 331.5 kB / 433.3 MB, free: 19.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.3832, allocations: 105.4 kB / 433.4 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3834, allocations: 67.48 kB / 433.5 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02033/0.4037, allocations: 15.92 MB / 449.4 MB, free: 21.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4038, allocations: 35.44 kB / 449.5 MB, free: 20.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.4038, allocations: 0 / 449.5 MB, free: 20.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009547/0.4048, allocations: 222 kB / 449.7 MB, free: 20.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4048, allocations: 52.78 kB / 449.7 MB, free: 20.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.405, allocations: 137.9 kB / 449.9 MB, free: 20.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.405, allocations: 32.73 kB / 449.9 MB, free: 20.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.405, allocations: 86.39 kB / 450 MB, free: 20.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.4051, allocations: 30.88 kB / 450 MB, free: 20.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.4052, allocations: 24.69 kB / 450 MB, free: 20.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4053, allocations: 317.3 kB / 450.3 MB, free: 20.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.4055, allocations: 46.78 kB / 450.4 MB, free: 20.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4057, allocations: 57.25 kB / 450.4 MB, free: 20.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.406, allocations: 104 kB / 450.5 MB, free: 20.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.406, allocations: 2.438 kB / 450.5 MB, free: 20.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004079/0.4064, allocations: 151.8 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4065, allocations: 6.812 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4065, allocations: 3.094 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4065, allocations: 4.844 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4066, allocations: 26.75 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4067, allocations: 1.625 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4068, allocations: 18.94 kB / 450.7 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.4068, allocations: 5.625 kB / 450.8 MB, free: 20.25 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 prepare postOptimizeDAE: time 8.92e-05/0.4069, allocations: 116.1 kB / 450.9 MB, free: 20.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.407, allocations: 12.56 kB / 450.9 MB, free: 20.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.4076, allocations: 409.8 kB / 451.3 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4077, allocations: 5.656 kB / 451.3 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4077, allocations: 0 / 451.3 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4077, allocations: 4.938 kB / 451.3 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.408, allocations: 281 kB / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.408, allocations: 0 / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.4082, allocations: 31.33 kB / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4082, allocations: 0 / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4082, allocations: 6.297 kB / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.4082, allocations: 12.22 kB / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4082, allocations: 0 / 451.6 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.4088, allocations: 436 kB / 452 MB, free: 19.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.4089, allocations: 102.8 kB / 452.1 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.409, allocations: 10.7 kB / 452.2 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.4091, allocations: 14.88 kB / 452.2 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.4092, allocations: 11.52 kB / 452.2 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4092, allocations: 2.406 kB / 452.2 MB, free: 19.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.4092, allocations: 104.6 kB / 452.3 MB, free: 19.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4092, allocations: 0 / 452.3 MB, free: 19.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002027/0.4113, allocations: 450.8 kB / 452.7 MB, free: 19.43 MB / 334.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.003907/0.4152, allocations: 1.56 MB / 454.3 MB, free: 18.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.4157, allocations: 212.2 kB / 454.5 MB, free: 18.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4157, allocations: 0 / 454.5 MB, free: 18.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.416, allocations: 162.2 kB / 454.6 MB, free: 18.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.4164, allocations: 40.08 kB / 454.7 MB, free: 18.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.418, allocations: 0.6266 MB / 455.3 MB, free: 18.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4183, allocations: 0.7161 MB / 456 MB, free: 17.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.908e-05/0.4184, allocations: 21.16 kB / 456 MB, free: 17.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.4185, allocations: 40.08 kB / 456.1 MB, free: 17.58 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.4185, allocations: 0 / 456.1 MB, free: 17.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5966/1.015, allocations: 16.13 MB / 472.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/1.015, allocations: 220.6 kB / 472.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/4.194, allocations: 0 / 472.4 MB, free: 7.988 MB / 334.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)