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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04752/0.04752, allocations: 9.095 MB / 25.83 MB, free: 3.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 233.2 MB, free: 14.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001213, allocations: 103.6 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 51.92 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01983/0.3434, allocations: 18.32 MB / 407.6 MB, free: 20.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008267/0.3517, allocations: 11.26 MB / 418.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3519, allocations: 0 / 418.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.952e-05/0.352, allocations: 7.922 kB / 418.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009329/0.353, allocations: 318.4 kB / 419.1 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01422/0.3672, allocations: 4.473 MB / 423.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.3674, allocations: 143.3 kB / 423.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.3675, allocations: 4 kB / 423.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.3678, allocations: 83.62 kB / 423.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3679, allocations: 55.77 kB / 423.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.368, allocations: 4 kB / 423.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.3819, allocations: 7.495 MB / 431.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.3821, allocations: 15.92 kB / 431.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3823, allocations: 39.8 kB / 431.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.3969, allocations: 3.274 MB / 434.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3969, allocations: 0 / 434.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.397, allocations: 0 / 434.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.397, allocations: 0 / 434.7 MB, free: 8.918 MB / 314.7 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.002485/0.3995, allocations: 0.7952 MB / 435.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3995, allocations: 16.03 kB / 435.5 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.3998, allocations: 19.83 kB / 435.5 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.4, allocations: 174.8 kB / 435.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.4, allocations: 11.98 kB / 435.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4, allocations: 0 / 435.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.4005, allocations: 105.5 kB / 435.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4005, allocations: 0 / 435.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4006, allocations: 0 / 435.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4006, allocations: 8 kB / 435.8 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.401, allocations: 107.8 kB / 435.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.4016, allocations: 324.7 kB / 436.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.4021, allocations: 110.5 kB / 436.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.4024, allocations: 68.8 kB / 436.4 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.024/0.4264, allocations: 15.92 MB / 452.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.4265, allocations: 38.5 kB / 452.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.4265, allocations: 0 / 452.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001027/0.4275, allocations: 213.6 kB / 452.6 MB, free: 4.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4276, allocations: 51.41 kB / 452.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4277, allocations: 142.1 kB / 452.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4278, allocations: 25.7 kB / 452.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.4278, allocations: 96.12 kB / 452.9 MB, free: 3.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.4279, allocations: 27.55 kB / 452.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.428, allocations: 29.7 kB / 453 MB, free: 3.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4281, allocations: 322.8 kB / 453.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.4283, allocations: 47.89 kB / 453.3 MB, free: 3.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.4285, allocations: 48.33 kB / 453.4 MB, free: 3.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.4289, allocations: 112.9 kB / 453.5 MB, free: 3.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.4289, allocations: 0 / 453.5 MB, free: 3.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004651/0.4294, allocations: 145.5 kB / 453.6 MB, free: 2.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.4294, allocations: 12.88 kB / 453.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4294, allocations: 4 kB / 453.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.4295, allocations: 0 / 453.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4297, allocations: 27.97 kB / 453.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4297, allocations: 0 / 453.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.4298, allocations: 23.88 kB / 453.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.4299, allocations: 4 kB / 453.7 MB, free: 2.891 MB / 330.7 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.00011/0.43, allocations: 117.8 kB / 453.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.43, allocations: 15.84 kB / 453.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00083/0.4309, allocations: 402.7 kB / 454.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4309, allocations: 3.984 kB / 454.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4309, allocations: 0 / 454.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4309, allocations: 7.938 kB / 454.2 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.4313, allocations: 277.8 kB / 454.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4313, allocations: 0 / 454.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.4314, allocations: 35.91 kB / 454.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.4314, allocations: 7.938 kB / 454.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4315, allocations: 3.984 kB / 454.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4315, allocations: 0 / 454.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4315, allocations: 4.094 kB / 454.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.4329, allocations: 1.158 MB / 455.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.433, allocations: 104.8 kB / 455.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.433, allocations: 4 kB / 455.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4332, allocations: 15.97 kB / 455.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.4332, allocations: 11.98 kB / 455.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4333, allocations: 8 kB / 455.9 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.177e-05/0.4333, allocations: 99.25 kB / 456 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4333, allocations: 0 / 456 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001831/0.4352, allocations: 467.8 kB / 456.4 MB, free: 36 kB / 330.7 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.002965/0.4382, allocations: 0.7061 MB / 457.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.4387, allocations: 191.8 kB / 457.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4388, allocations: 0 / 457.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.4391, allocations: 167.9 kB / 457.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4395, allocations: 35.91 kB / 457.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.4405, allocations: 0.6241 MB / 458.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4409, allocations: 0.7242 MB / 458.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.441, allocations: 15.98 kB / 458.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.441, allocations: 19.42 kB / 458.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.441, allocations: 0 / 458.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of Templates: time 0.02818/0.4692, allocations: 14.2 MB / 473.1 MB, free: 15.28 MB / 362.7 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)