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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001053/0.001054, allocations: 188.1 kB / 16.25 MB, free: 6.617 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.474/1.474, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04859/0.04859, allocations: 9.081 MB / 278.5 MB, free: 12.34 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.001508/0.001508, allocations: 67.84 kB / 337.5 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 48.17 MB / 385.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01991/0.1315, allocations: 18.05 MB / 403.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.143, allocations: 11.06 MB / 414.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1432, allocations: 0 / 414.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.052e-05/0.1434, allocations: 11.92 kB / 414.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1444, allocations: 310.5 kB / 415.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0164/0.1608, allocations: 4.753 MB / 419.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1611, allocations: 143.3 kB / 420 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.1612, allocations: 11.98 kB / 420 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1615, allocations: 83.56 kB / 420.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.1616, allocations: 47.84 kB / 420.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1616, allocations: 12 kB / 420.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2223/0.3839, allocations: 8.015 MB / 428.2 MB, free: 20.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.384, allocations: 17.11 kB / 428.2 MB, free: 20.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.3841, allocations: 45.09 kB / 428.2 MB, free: 20.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.397, allocations: 3.417 MB / 431.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.397, allocations: 1.625 kB / 431.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.397, allocations: 0 / 431.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.397, allocations: 0 / 431.7 MB, free: 20.51 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.002977/0.4, allocations: 0.795 MB / 432.5 MB, free: 19.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.4001, allocations: 9.906 kB / 432.5 MB, free: 19.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.4003, allocations: 15.98 kB / 432.5 MB, free: 19.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4004, allocations: 175 kB / 432.6 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4004, allocations: 4.438 kB / 432.7 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.4005, allocations: 5.938 kB / 432.7 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.4009, allocations: 102 kB / 432.8 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4009, allocations: 1.875 kB / 432.8 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4009, allocations: 2.125 kB / 432.8 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4009, allocations: 2.281 kB / 432.8 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.4014, allocations: 108.6 kB / 432.9 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.4019, allocations: 329.8 kB / 433.2 MB, free: 19.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.4024, allocations: 106.1 kB / 433.3 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.4027, allocations: 66.98 kB / 433.4 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02202/0.4247, allocations: 15.92 MB / 449.3 MB, free: 21.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.4248, allocations: 32 kB / 449.3 MB, free: 20.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.845e-06/0.4248, allocations: 0 / 449.3 MB, free: 20.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009157/0.4257, allocations: 213.1 kB / 449.5 MB, free: 20.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4258, allocations: 56.72 kB / 449.6 MB, free: 20.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4259, allocations: 141.5 kB / 449.7 MB, free: 20.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4259, allocations: 29.58 kB / 449.7 MB, free: 20.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.426, allocations: 90.48 kB / 449.8 MB, free: 20.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.426, allocations: 30.09 kB / 449.9 MB, free: 20.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.4261, allocations: 22.09 kB / 449.9 MB, free: 20.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4262, allocations: 326.2 kB / 450.2 MB, free: 20.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4264, allocations: 46.25 kB / 450.3 MB, free: 20.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.4266, allocations: 51.66 kB / 450.3 MB, free: 20.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.4269, allocations: 110.3 kB / 450.4 MB, free: 20.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4269, allocations: 1.625 kB / 450.4 MB, free: 20.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004019/0.4273, allocations: 143.5 kB / 450.6 MB, free: 20.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4274, allocations: 4.938 kB / 450.6 MB, free: 20.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4274, allocations: 7.422 kB / 450.6 MB, free: 20.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4274, allocations: 2.188 kB / 450.6 MB, free: 20.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4276, allocations: 35.45 kB / 450.6 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4276, allocations: 0.7031 kB / 450.6 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4277, allocations: 16.64 kB / 450.6 MB, free: 20.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4277, allocations: 1.719 kB / 450.6 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 0.0001056/0.4278, allocations: 115.2 kB / 450.7 MB, free: 20.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.4279, allocations: 17.38 kB / 450.7 MB, free: 20.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.4286, allocations: 398.8 kB / 451.1 MB, free: 20.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4286, allocations: 13.11 kB / 451.1 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4286, allocations: 2.25 kB / 451.2 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4286, allocations: 0 / 451.2 MB, free: 20.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4289, allocations: 277.3 kB / 451.4 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4289, allocations: 1.156 kB / 451.4 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.4291, allocations: 36 kB / 451.5 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.4291, allocations: 1.219 kB / 451.5 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4291, allocations: 4.875 kB / 451.5 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4291, allocations: 3.938 kB / 451.5 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4291, allocations: 1.344 kB / 451.5 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.4298, allocations: 441 kB / 451.9 MB, free: 19.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.4299, allocations: 103.6 kB / 452 MB, free: 19.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4299, allocations: 0 / 452 MB, free: 19.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4301, allocations: 27.91 kB / 452 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.4302, allocations: 8.078 kB / 452 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.4302, allocations: 3.75 kB / 452 MB, free: 19.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.4303, allocations: 101 kB / 452.1 MB, free: 19.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4303, allocations: 1.406 kB / 452.1 MB, free: 19.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002568/0.4328, allocations: 450.3 kB / 452.6 MB, free: 19.44 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.002446/0.4353, allocations: 0.7009 MB / 453.3 MB, free: 19.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.4358, allocations: 201.7 kB / 453.5 MB, free: 19.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4358, allocations: 7.125 kB / 453.5 MB, free: 19.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.4361, allocations: 162 kB / 453.6 MB, free: 19.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4365, allocations: 34.67 kB / 453.7 MB, free: 19.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.437, allocations: 417.1 kB / 454.1 MB, free: 19.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.4373, allocations: 0.7208 MB / 454.8 MB, free: 18.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.033e-05/0.4374, allocations: 26.25 kB / 454.8 MB, free: 18.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.4374, allocations: 18.66 kB / 454.8 MB, free: 18.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4374, allocations: 0 / 454.8 MB, free: 18.3 MB / 334.1 MB Notification: Performance of Templates: time 0.02052/0.458, allocations: 14.24 MB / 469.1 MB, free: 11.27 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)