Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09687/0.09687, allocations: 17.38 MB / 277.6 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 1.188 kB / 300.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.271e-05, allocations: 2.312 kB / 300.6 MB, free: 1.922 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.Definitions): time 0.03413/0.03415, allocations: 32.56 MB / 333.2 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3214/0.3555, allocations: 134.3 MB / 467.4 MB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.3558, allocations: 9.938 kB / 467.4 MB, free: 27.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.3574, allocations: 0.6772 MB / 468.1 MB, free: 27.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.3599, allocations: 2.104 MB / 470.2 MB, free: 27.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3613, allocations: 0.541 MB / 470.8 MB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.3641, allocations: 2.063 MB / 472.8 MB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.3642, allocations: 31.64 kB / 472.8 MB, free: 27.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.3647, allocations: 474.8 kB / 473.3 MB, free: 27.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.3653, allocations: 408.8 kB / 473.7 MB, free: 27.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.3653, allocations: 18.91 kB / 473.7 MB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.3668, allocations: 0.6791 MB / 474.4 MB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3669, allocations: 163.9 kB / 474.6 MB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3671, allocations: 162.2 kB / 474.7 MB, free: 27.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.3685, allocations: 1.51 MB / 476.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3685, allocations: 0 / 476.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3685, allocations: 0 / 476.2 MB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.3685, allocations: 1.203 kB / 476.2 MB, free: 27.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.00106/0.3696, allocations: 0.9842 MB / 477.2 MB, free: 26.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3696, allocations: 10.91 kB / 477.2 MB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/0.3703, allocations: 0.5276 MB / 477.8 MB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.3706, allocations: 336.6 kB / 478.1 MB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.3707, allocations: 37.7 kB / 478.1 MB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.3707, allocations: 45.56 kB / 478.2 MB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.3713, allocations: 0.9528 MB / 479.1 MB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3713, allocations: 192 / 479.1 MB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.3714, allocations: 23.42 kB / 479.1 MB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.095e-05/0.3714, allocations: 96.14 kB / 479.2 MB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008115/0.3723, allocations: 1.162 MB / 480.4 MB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3742, allocations: 2.206 MB / 482.6 MB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.3747, allocations: 472.2 kB / 483.1 MB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.3747, allocations: 62.03 kB / 483.1 MB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/0.3767, allocations: 1.674 MB / 484.8 MB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3767, allocations: 41.17 kB / 484.8 MB, free: 25.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.3767, allocations: 0 / 484.8 MB, free: 25.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003115/0.377, allocations: 214.5 kB / 485.1 MB, free: 25.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.3771, allocations: 53.69 kB / 485.1 MB, free: 25.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3775, allocations: 0.7414 MB / 485.8 MB, free: 24.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3775, allocations: 32.27 kB / 485.9 MB, free: 24.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3776, allocations: 466.3 kB / 486.3 MB, free: 24.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.3777, allocations: 111.6 kB / 486.4 MB, free: 24.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3779, allocations: 267.7 kB / 486.7 MB, free: 24.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.3779, allocations: 359.4 kB / 487.1 MB, free: 24.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.378, allocations: 95.05 kB / 487.1 MB, free: 24.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.3783, allocations: 0.7673 MB / 487.9 MB, free: 23.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.3789, allocations: 1.001 MB / 488.9 MB, free: 22.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3789, allocations: 9.688 kB / 488.9 MB, free: 22.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0006994/0.3796, allocations: 0.7292 MB / 489.7 MB, free: 22.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3796, allocations: 14.44 kB / 489.7 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.3796, allocations: 25.97 kB / 489.7 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.3797, allocations: 30.03 kB / 489.7 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.3801, allocations: 274.9 kB / 490 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.3801, allocations: 45.52 kB / 490 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3804, allocations: 145.4 kB / 490.2 MB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-05/0.3805, allocations: 111.6 kB / 490.3 MB, free: 22.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (O2_dissolving_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_vaporization_props.definition.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0001883/0.3807, allocations: 201.1 kB / 490.5 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.3807, allocations: 52.36 kB / 490.5 MB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.3817, allocations: 0.5733 MB / 491.1 MB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3817, allocations: 3.188 kB / 491.1 MB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3817, allocations: 0.8438 kB / 491.1 MB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3817, allocations: 6.328 kB / 491.1 MB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.382, allocations: 269.2 kB / 491.4 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.382, allocations: 1.062 kB / 491.4 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3822, allocations: 82.23 kB / 491.5 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3822, allocations: 4.219 kB / 491.5 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.3822, allocations: 17.31 kB / 491.5 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3822, allocations: 3.406 kB / 491.5 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3822, allocations: 3.875 kB / 491.5 MB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3824, allocations: 278.3 kB / 491.8 MB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.3826, allocations: 216 kB / 492 MB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.3827, allocations: 6.562 kB / 492 MB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3828, allocations: 6.188 kB / 492 MB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3829, allocations: 33.06 kB / 492 MB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.3829, allocations: 69.52 kB / 492.1 MB, free: 21.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.3831, allocations: 314 kB / 492.4 MB, free: 21.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3831, allocations: 0 / 492.4 MB, free: 21.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006143/0.3837, allocations: 177.5 kB / 492.6 MB, free: 21.69 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0003527/0.3841, allocations: 221.7 kB / 492.8 MB, free: 21.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.3846, allocations: 437.6 kB / 493.2 MB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.389e-05/0.3846, allocations: 18.75 kB / 493.2 MB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3847, allocations: 96.91 kB / 493.3 MB, free: 21.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3852, allocations: 110.1 kB / 493.4 MB, free: 21.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.3868, allocations: 1.109 MB / 494.5 MB, free: 21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.3869, allocations: 158.8 kB / 494.7 MB, free: 20.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001042/0.3879, allocations: 436.6 kB / 495.1 MB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.3885, allocations: 254.9 kB / 495.4 MB, free: 20.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3885, allocations: 0 / 495.4 MB, free: 20.67 MB / 410.7 MB Notification: Performance of Templates: time 0.01449/0.403, allocations: 10.28 MB / 0.4938 GB, free: 16.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5904838242568076]