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.0009724/0.0009725, allocations: 99.08 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.0009824/0.0009825, allocations: 177.3 kB / 15.95 MB, free: 216 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04506/0.04506, allocations: 9.056 MB / 279.4 MB, free: 12.27 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.0004994/0.0004995, allocations: 12.22 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 49.19 MB / 388.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01897/0.1335, allocations: 15.17 MB / 403.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.1374, allocations: 3.504 MB / 407 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1375, allocations: 4 kB / 407 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.1376, allocations: 7.922 kB / 407 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009696/0.1385, allocations: 307 kB / 407.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.1498, allocations: 3.056 MB / 410.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.1501, allocations: 95.84 kB / 410.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.1502, allocations: 4 kB / 410.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.1507, allocations: 123.5 kB / 410.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1508, allocations: 43.84 kB / 410.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1508, allocations: 7.938 kB / 410.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.164, allocations: 5.932 MB / 416.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.1642, allocations: 15.98 kB / 416.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.1643, allocations: 41.64 kB / 416.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.1698, allocations: 1.388 MB / 418 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1698, allocations: 4 kB / 418 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1698, allocations: 0 / 418 MB, free: 11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1699, allocations: 0 / 418 MB, free: 11 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.001771/0.1716, allocations: 0.6744 MB / 418.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1717, allocations: 12.03 kB / 418.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1719, allocations: 15.86 kB / 418.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.172, allocations: 178.8 kB / 418.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1721, allocations: 7.984 kB / 418.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1721, allocations: 11.98 kB / 418.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.1724, allocations: 109.6 kB / 419 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1725, allocations: 0 / 419 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1725, allocations: 0 / 419 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1725, allocations: 7.953 kB / 419 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.1731, allocations: 131.8 kB / 419.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.1738, allocations: 324.8 kB / 419.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1743, allocations: 110.5 kB / 419.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2401/0.4144, allocations: 15.71 MB / 435.2 MB, free: 39.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.4145, allocations: 35.11 kB / 435.3 MB, free: 39.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 3.697e-06/0.4145, allocations: 2.625 kB / 435.3 MB, free: 39.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001067/0.4155, allocations: 252.2 kB / 435.5 MB, free: 39.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4156, allocations: 54.83 kB / 435.6 MB, free: 39.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4157, allocations: 137.5 kB / 435.7 MB, free: 39.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4157, allocations: 27.33 kB / 435.7 MB, free: 39.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.4158, allocations: 90.22 kB / 435.8 MB, free: 39.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.4159, allocations: 32.67 kB / 435.9 MB, free: 39.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.4159, allocations: 4.109 kB / 435.9 MB, free: 39.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.4159, allocations: 317.4 kB / 436.2 MB, free: 39.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.4162, allocations: 61.14 kB / 436.2 MB, free: 39.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.4164, allocations: 68.55 kB / 436.3 MB, free: 39.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4166, allocations: 62.41 kB / 436.4 MB, free: 39.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4166, allocations: 3.781 kB / 436.4 MB, free: 39.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004908/0.4171, allocations: 177.7 kB / 436.5 MB, free: 39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4171, allocations: 11.02 kB / 436.5 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4172, allocations: 0 / 436.5 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4172, allocations: 1.516 kB / 436.6 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4174, allocations: 38.34 kB / 436.6 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4174, allocations: 0 / 436.6 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.4175, allocations: 28.52 kB / 436.6 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4176, allocations: 2.75 kB / 436.6 MB, free: 39 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.4177, allocations: 118.7 kB / 436.7 MB, free: 38.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.4177, allocations: 9.062 kB / 436.7 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009415/0.4186, allocations: 429.2 kB / 437.2 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.4187, allocations: 4.266 kB / 437.2 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4187, allocations: 5.484 kB / 437.2 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4187, allocations: 0 / 437.2 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.419, allocations: 285.4 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4191, allocations: 3.984 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.4193, allocations: 32.86 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4193, allocations: 0.9375 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4193, allocations: 5.141 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4193, allocations: 1.094 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4193, allocations: 0.7969 kB / 437.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.4201, allocations: 459.9 kB / 437.9 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.4202, allocations: 104.7 kB / 438 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4202, allocations: 1.656 kB / 438 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4204, allocations: 26.23 kB / 438.1 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.4204, allocations: 11.27 kB / 438.1 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4204, allocations: 3.484 kB / 438.1 MB, free: 38.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.501e-05/0.4205, allocations: 101.5 kB / 438.2 MB, free: 38.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4205, allocations: 1.188 kB / 438.2 MB, free: 38.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001965/0.4225, allocations: 449.9 kB / 438.6 MB, free: 38.1 MB / 318.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 (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.00179/0.4243, allocations: 0.7025 MB / 439.3 MB, free: 37.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.4248, allocations: 221.1 kB / 439.5 MB, free: 37.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4249, allocations: 0 / 439.5 MB, free: 37.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.4252, allocations: 184.4 kB / 439.7 MB, free: 37.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4255, allocations: 34.02 kB / 439.8 MB, free: 37.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.4261, allocations: 435.3 kB / 440.2 MB, free: 37.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.4263, allocations: 0.7291 MB / 440.9 MB, free: 36.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4264, allocations: 20.67 kB / 440.9 MB, free: 36.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.4265, allocations: 14.92 kB / 440.9 MB, free: 36.78 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4265, allocations: 0 / 440.9 MB, free: 36.78 MB / 318.1 MB Notification: Performance of Templates: time 0.02062/0.4471, allocations: 14.05 MB / 455 MB, free: 28.28 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: