Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009352/0.0009352, 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: 181 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 0.9592/0.9592, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1039/0.1039, allocations: 17.46 MB / 277.7 MB, free: 11.45 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 300.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.581e-05, allocations: 3.406 kB / 300.7 MB, free: 1.762 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:448:5-448: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 master/Interfaces.mo:448:5-448: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.02889/0.02891, allocations: 32.66 MB / 333.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2879/0.3168, allocations: 134.9 MB / 468.3 MB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.317, allocations: 13.53 kB / 468.3 MB, free: 28.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3187, allocations: 0.7263 MB / 469 MB, free: 28.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.3218, allocations: 2.546 MB / 471.6 MB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3233, allocations: 0.6389 MB / 472.2 MB, free: 27.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002846/0.3261, allocations: 2.137 MB / 474.3 MB, free: 27.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.3262, allocations: 33.84 kB / 474.4 MB, free: 27.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.3267, allocations: 0.4913 MB / 474.9 MB, free: 27.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.3272, allocations: 443.1 kB / 475.3 MB, free: 27.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.3273, allocations: 19.12 kB / 475.3 MB, free: 27.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/0.3324, allocations: 0.8353 MB / 476.2 MB, free: 27.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3326, allocations: 188 kB / 476.3 MB, free: 27.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3327, allocations: 192.2 kB / 476.5 MB, free: 27.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.3342, allocations: 1.573 MB / 478.1 MB, free: 27.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3342, allocations: 0.9062 kB / 478.1 MB, free: 27.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3342, allocations: 0 / 478.1 MB, free: 27.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3342, allocations: 3.938 kB / 478.1 MB, free: 27.69 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.004076/0.3383, allocations: 1.012 MB / 479.1 MB, free: 27.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3383, allocations: 11.28 kB / 479.1 MB, free: 27.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.339, allocations: 0.5535 MB / 479.7 MB, free: 27.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3394, allocations: 332.1 kB / 480 MB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3394, allocations: 35.7 kB / 480 MB, free: 26.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.3394, allocations: 43.38 kB / 480.1 MB, free: 26.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.3401, allocations: 0.9554 MB / 481 MB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3401, allocations: 3.609 kB / 481 MB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.3402, allocations: 20.36 kB / 481.1 MB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.3433, allocations: 91.61 kB / 481.1 MB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.3442, allocations: 1.168 MB / 482.3 MB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.3485, allocations: 2.21 MB / 484.5 MB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008985/0.3494, allocations: 476.7 kB / 485 MB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3495, allocations: 62.11 kB / 485.1 MB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003268/0.3528, allocations: 1.678 MB / 486.7 MB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3528, allocations: 41.17 kB / 486.8 MB, free: 25.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/0.3528, allocations: 0 / 486.8 MB, free: 25.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005379/0.3534, allocations: 237 kB / 487 MB, free: 25.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3534, allocations: 54.62 kB / 487.1 MB, free: 25.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.3541, allocations: 0.7468 MB / 487.8 MB, free: 25.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.3541, allocations: 31.8 kB / 487.8 MB, free: 25.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3543, allocations: 478.7 kB / 488.3 MB, free: 24.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.3544, allocations: 107.4 kB / 488.4 MB, free: 24.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.3547, allocations: 267.2 kB / 488.7 MB, free: 24.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.3548, allocations: 359.4 kB / 489 MB, free: 24.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3549, allocations: 91.81 kB / 489.1 MB, free: 24.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.3554, allocations: 0.766 MB / 489.9 MB, free: 23.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.3563, allocations: 1.004 MB / 490.9 MB, free: 22.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.3563, allocations: 5.75 kB / 490.9 MB, free: 22.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001198/0.3575, allocations: 0.7351 MB / 491.6 MB, free: 22.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3575, allocations: 20.78 kB / 491.6 MB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.3576, allocations: 23.31 kB / 491.7 MB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.3576, allocations: 32.59 kB / 491.7 MB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.3583, allocations: 275.8 kB / 492 MB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-05/0.3583, allocations: 46.97 kB / 492 MB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.359, allocations: 139.1 kB / 492.1 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.3592, allocations: 108.6 kB / 492.3 MB, free: 22.54 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.0002988/0.3595, allocations: 199.4 kB / 492.4 MB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3596, allocations: 72.23 kB / 492.5 MB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3609, allocations: 0.5773 MB / 493.1 MB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3609, allocations: 2.938 kB / 493.1 MB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.3609, allocations: 0 / 493.1 MB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3609, allocations: 6.281 kB / 493.1 MB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3614, allocations: 270.9 kB / 493.4 MB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3614, allocations: 0 / 493.4 MB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3617, allocations: 79.88 kB / 493.4 MB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3617, allocations: 3.312 kB / 493.4 MB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.3617, allocations: 22.86 kB / 493.5 MB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3617, allocations: 3.406 kB / 493.5 MB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3617, allocations: 0 / 493.5 MB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.3621, allocations: 309.1 kB / 493.8 MB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.3625, allocations: 212.2 kB / 494 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.3626, allocations: 3.188 kB / 494 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3628, allocations: 6.375 kB / 494 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.3629, allocations: 32.11 kB / 494 MB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.363, allocations: 68.58 kB / 494.1 MB, free: 21.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.3634, allocations: 314.4 kB / 494.4 MB, free: 21.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3634, allocations: 0 / 494.4 MB, free: 21.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00114/0.3645, allocations: 202.1 kB / 494.6 MB, free: 21.95 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.0004934/0.365, allocations: 224.5 kB / 494.8 MB, free: 21.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007376/0.3658, allocations: 432.4 kB / 495.2 MB, free: 21.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.572e-05/0.3658, allocations: 19.31 kB / 495.3 MB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.366, allocations: 96.25 kB / 495.3 MB, free: 21.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.3665, allocations: 109.8 kB / 495.5 MB, free: 21.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3683, allocations: 1.116 MB / 496.6 MB, free: 21.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.3684, allocations: 159.9 kB / 496.7 MB, free: 21.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008665/0.3693, allocations: 439.3 kB / 497.2 MB, free: 20.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.3697, allocations: 256.2 kB / 497.4 MB, free: 20.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3697, allocations: 0 / 497.4 MB, free: 20.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01045/0.3801, allocations: 10.28 MB / 0.4958 GB, free: 16.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.354469598736614]