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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001029/0.001029, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.35/1.35, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04496/0.04496, allocations: 9.082 MB / 278.4 MB, free: 12.39 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.001201/0.001201, allocations: 67.84 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08967, allocations: 48.16 MB / 385.5 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01846/0.1082, allocations: 18.32 MB / 403.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.1197, allocations: 11.27 MB / 415.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1198, allocations: 0 / 415.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.711e-05/0.12, allocations: 3.984 kB / 415.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1212, allocations: 314.4 kB / 415.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.1376, allocations: 4.483 MB / 419.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1379, allocations: 155.2 kB / 420 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.172e-05/0.1379, allocations: 4 kB / 420 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.1383, allocations: 79.58 kB / 420.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1384, allocations: 47.83 kB / 420.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1384, allocations: 4 kB / 420.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1857/0.3241, allocations: 7.487 MB / 427.7 MB, free: 20.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.3242, allocations: 11.7 kB / 427.7 MB, free: 20.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.3243, allocations: 41.94 kB / 427.7 MB, free: 20.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.3352, allocations: 3.28 MB / 431 MB, free: 20.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3352, allocations: 1.469 kB / 431 MB, free: 20.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3352, allocations: 0 / 431 MB, free: 20.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3352, allocations: 0 / 431 MB, free: 20.07 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.002402/0.3377, allocations: 0.7969 MB / 431.8 MB, free: 19.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3377, allocations: 9.375 kB / 431.8 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3379, allocations: 15.56 kB / 431.8 MB, free: 19.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.908e-05/0.338, allocations: 182.3 kB / 432 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.338, allocations: 8.25 kB / 432 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.338, allocations: 5.859 kB / 432 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.3384, allocations: 97.36 kB / 432.1 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3384, allocations: 3.281 kB / 432.1 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3384, allocations: 4.625 kB / 432.1 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3385, allocations: 2.125 kB / 432.1 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.3389, allocations: 107.5 kB / 432.2 MB, free: 19.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3394, allocations: 322 kB / 432.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.3399, allocations: 109.5 kB / 432.6 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3401, allocations: 66.61 kB / 432.7 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/0.3614, allocations: 15.92 MB / 448.6 MB, free: 20.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3615, allocations: 31.66 kB / 448.6 MB, free: 20.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.3615, allocations: 0 / 448.6 MB, free: 20.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008969/0.3624, allocations: 218 kB / 448.9 MB, free: 20.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3625, allocations: 60.41 kB / 448.9 MB, free: 20.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3626, allocations: 139.9 kB / 449.1 MB, free: 20.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3626, allocations: 29.39 kB / 449.1 MB, free: 20.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.3627, allocations: 86.14 kB / 449.2 MB, free: 20.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3627, allocations: 42 kB / 449.2 MB, free: 20.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.3628, allocations: 20.34 kB / 449.2 MB, free: 20.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3629, allocations: 323.3 kB / 449.5 MB, free: 19.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3631, allocations: 48.52 kB / 449.6 MB, free: 19.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.3632, allocations: 45.88 kB / 449.6 MB, free: 19.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.3635, allocations: 112.9 kB / 449.7 MB, free: 19.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3635, allocations: 0 / 449.7 MB, free: 19.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003949/0.3639, allocations: 150.5 kB / 449.9 MB, free: 19.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.364, allocations: 6.75 kB / 449.9 MB, free: 19.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.364, allocations: 1.5 kB / 449.9 MB, free: 19.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.364, allocations: 4 kB / 449.9 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3642, allocations: 32.08 kB / 449.9 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3642, allocations: 0 / 449.9 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3643, allocations: 24.45 kB / 450 MB, free: 19.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3643, allocations: 5.156 kB / 450 MB, free: 19.84 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 7.276e-05/0.3644, allocations: 113.1 kB / 450.1 MB, free: 19.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.3644, allocations: 8.656 kB / 450.1 MB, free: 19.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.3651, allocations: 403.2 kB / 450.5 MB, free: 19.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3651, allocations: 9.406 kB / 450.5 MB, free: 19.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3651, allocations: 4 kB / 450.5 MB, free: 19.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3651, allocations: 0 / 450.5 MB, free: 19.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.3654, allocations: 280 kB / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3654, allocations: 1.531 kB / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3655, allocations: 29.86 kB / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3655, allocations: 0 / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3656, allocations: 4.969 kB / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3656, allocations: 5.031 kB / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3656, allocations: 0 / 450.8 MB, free: 19.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.3661, allocations: 440.5 kB / 451.2 MB, free: 19.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.3662, allocations: 102.8 kB / 451.3 MB, free: 19.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3663, allocations: 1.219 kB / 451.3 MB, free: 19.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3664, allocations: 23.67 kB / 451.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.3664, allocations: 14 kB / 451.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3665, allocations: 2.562 kB / 451.4 MB, free: 19.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.3665, allocations: 102.9 kB / 451.5 MB, free: 19.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3665, allocations: 0 / 451.5 MB, free: 19.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001793/0.3683, allocations: 450.5 kB / 451.9 MB, free: 19.03 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.001804/0.3701, allocations: 0.7019 MB / 452.6 MB, free: 18.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.3706, allocations: 204 kB / 452.8 MB, free: 18.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3706, allocations: 0 / 452.8 MB, free: 18.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.3709, allocations: 172.8 kB / 453 MB, free: 18.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3712, allocations: 34.3 kB / 453 MB, free: 18.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.3717, allocations: 419.9 kB / 453.4 MB, free: 18.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.372, allocations: 0.7207 MB / 454.1 MB, free: 17.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.351e-05/0.372, allocations: 23.25 kB / 454.2 MB, free: 17.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.3721, allocations: 16.12 kB / 454.2 MB, free: 17.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3721, allocations: 0 / 454.2 MB, free: 17.89 MB / 334.1 MB Notification: Performance of Templates: time 0.01701/0.3891, allocations: 14.15 MB / 468.3 MB, free: 11.36 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)