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.0009271/0.0009271, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009316/0.0009316, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.133/1.133, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.1082/0.1082, allocations: 17.38 MB / 278.4 MB, free: 11.49 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 1.403e-06/1.403e-06, allocations: 0 / 354.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.152e-05, allocations: 5.547 kB / 354.7 MB, free: 9.695 MB / 282.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.05283/0.05285, allocations: 26.74 MB / 381.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2803/0.3332, allocations: 132.2 MB / 0.5016 GB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.3334, allocations: 7.938 kB / 0.5016 GB, free: 9.609 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.3348, allocations: 0.663 MB / 0.5022 GB, free: 8.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3368, allocations: 2.068 MB / 0.5042 GB, free: 6.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.3376, allocations: 0.5368 MB / 0.5048 GB, free: 6.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3397, allocations: 2.104 MB / 0.5068 GB, free: 4.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.3397, allocations: 29.95 kB / 0.5068 GB, free: 4.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.3401, allocations: 475 kB / 0.5073 GB, free: 3.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.3405, allocations: 447.2 kB / 0.5077 GB, free: 3.285 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.3406, allocations: 20 kB / 0.5077 GB, free: 3.266 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008931/0.3415, allocations: 0.6822 MB / 0.5084 GB, free: 2.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3416, allocations: 167.3 kB / 0.5086 GB, free: 2.418 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3417, allocations: 155.4 kB / 0.5087 GB, free: 2.266 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3429, allocations: 1.515 MB / 0.5102 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3429, allocations: 0 / 0.5102 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3429, allocations: 0 / 0.5102 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3429, allocations: 0 / 0.5102 GB, free: 0.7461 MB / 378.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.001009/0.3439, allocations: 1.192 MB / 0.5114 GB, free: 15.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3439, allocations: 12.03 kB / 0.5114 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/0.3445, allocations: 0.5594 MB / 0.5119 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3448, allocations: 368.1 kB / 0.5123 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.3448, allocations: 29.38 kB / 0.5123 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.3449, allocations: 52.36 kB / 0.5123 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3459, allocations: 0.9721 MB / 0.5133 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3459, allocations: 192 / 0.5133 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.346, allocations: 16.56 kB / 0.5133 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.3461, allocations: 97.19 kB / 0.5134 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.3474, allocations: 1.162 MB / 0.5145 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.3509, allocations: 2.722 MB / 0.5172 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.3518, allocations: 0.5833 MB / 0.5178 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.352, allocations: 95.58 kB / 0.5179 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/0.3552, allocations: 1.913 MB / 0.5197 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3553, allocations: 45.38 kB / 0.5198 GB, free: 6.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.3553, allocations: 0 / 0.5198 GB, free: 6.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006897/0.3559, allocations: 378.5 kB / 0.5201 GB, free: 6.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.356, allocations: 59.41 kB / 0.5202 GB, free: 6.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.3574, allocations: 1.025 MB / 0.5212 GB, free: 5.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.3574, allocations: 29.7 kB / 0.5212 GB, free: 5.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.3578, allocations: 0.5369 MB / 0.5217 GB, free: 4.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.3579, allocations: 107.2 kB / 0.5218 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.3582, allocations: 340 kB / 0.5222 GB, free: 4.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3584, allocations: 0.5508 MB / 0.5227 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3586, allocations: 118.5 kB / 0.5228 GB, free: 3.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.3594, allocations: 1.104 MB / 0.5239 GB, free: 1.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3606, allocations: 1.349 MB / 0.5252 GB, free: 168 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.3606, allocations: 4 kB / 0.5252 GB, free: 164 kB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001318/0.3619, allocations: 0.9308 MB / 0.5261 GB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.362, allocations: 16 kB / 0.5261 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.362, allocations: 24.88 kB / 0.5262 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.362, allocations: 28 kB / 0.5262 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.3627, allocations: 307.5 kB / 0.5265 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/0.3627, allocations: 47.8 kB / 0.5265 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.3632, allocations: 139 kB / 0.5267 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/0.3636, allocations: 120 kB / 0.5268 GB, free: 14.55 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.0002567/0.3639, allocations: 244 kB / 0.527 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.364, allocations: 95.44 kB / 0.5271 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.3654, allocations: 0.7183 MB / 0.5278 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3654, allocations: 4 kB / 0.5278 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3654, allocations: 4 kB / 0.5278 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3654, allocations: 3.938 kB / 0.5278 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.3659, allocations: 400.7 kB / 0.5282 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3659, allocations: 0 / 0.5282 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3661, allocations: 99.95 kB / 0.5283 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3661, allocations: 0 / 0.5283 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.3662, allocations: 35.98 kB / 0.5283 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3662, allocations: 0 / 0.5283 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3662, allocations: 3.938 kB / 0.5283 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.3667, allocations: 487.5 kB / 0.5288 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.3671, allocations: 253.2 kB / 0.529 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.3672, allocations: 8 kB / 0.529 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3674, allocations: 8 kB / 0.5291 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.3674, allocations: 42.64 kB / 0.5291 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/0.3675, allocations: 87.92 kB / 0.5292 GB, free: 12.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000431/0.368, allocations: 494.8 kB / 0.5296 GB, free: 11.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.368, allocations: 0 / 0.5296 GB, free: 11.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008128/0.3688, allocations: 175.8 kB / 0.5298 GB, free: 11.39 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.0004168/0.3692, allocations: 257.2 kB / 0.5301 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007024/0.3699, allocations: 0.5003 MB / 0.5305 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3699, allocations: 0 / 0.5305 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3701, allocations: 127.5 kB / 0.5307 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3706, allocations: 125.6 kB / 0.5308 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3724, allocations: 1.133 MB / 0.5319 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3725, allocations: 162.2 kB / 0.5321 GB, free: 9.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001221/0.3738, allocations: 442.3 kB / 0.5325 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/0.3744, allocations: 290 kB / 0.5327 GB, free: 8.34 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3744, allocations: 4 kB / 0.5328 GB, free: 8.336 MB / 410.7 MB Notification: Performance of Templates: time 0.01197/0.3863, allocations: 10.39 MB / 0.5429 GB, free: 14.2 MB / 426.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.9619100159034133]