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.001118/0.001118, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001238/0.001238, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9362/0.9362, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.1443/0.1443, allocations: 17.46 MB / 277.7 MB, free: 11.64 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.282e-06/1.282e-06, allocations: 0 / 353.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.617e-05, allocations: 5.125 kB / 353.6 MB, free: 10.17 MB / 282.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.0248/0.02483, allocations: 26.75 MB / 380.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2684/0.2932, allocations: 135.1 MB / 0.5033 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.2935, allocations: 8 kB / 0.5034 GB, free: 7.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.2955, allocations: 0.714 MB / 0.5041 GB, free: 6.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.2986, allocations: 2.543 MB / 0.5065 GB, free: 3.992 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3003, allocations: 0.6135 MB / 0.5071 GB, free: 3.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.3033, allocations: 2.103 MB / 0.5092 GB, free: 1.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.3034, allocations: 25.97 kB / 0.5092 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.3039, allocations: 491 kB / 0.5097 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.3045, allocations: 491 kB / 0.5101 GB, free: 280 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.3046, allocations: 24 kB / 0.5102 GB, free: 256 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.306, allocations: 0.8455 MB / 0.511 GB, free: 15.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3061, allocations: 191.3 kB / 0.5112 GB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.3063, allocations: 183.4 kB / 0.5114 GB, free: 15.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.3082, allocations: 1.573 MB / 0.5129 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3082, allocations: 0 / 0.5129 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3082, allocations: 0 / 0.5129 GB, free: 13.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.3082, allocations: 7.938 kB / 0.5129 GB, free: 13.45 MB / 394.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.001419/0.3096, allocations: 1.215 MB / 0.5141 GB, free: 12.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3097, allocations: 12.03 kB / 0.5141 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.3107, allocations: 0.5712 MB / 0.5147 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.3111, allocations: 368.1 kB / 0.515 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.3112, allocations: 40.92 kB / 0.515 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.3113, allocations: 44.38 kB / 0.5151 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.3124, allocations: 1.125 MB / 0.5162 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3124, allocations: 192 / 0.5162 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.3125, allocations: 20.56 kB / 0.5162 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.993e-05/0.3126, allocations: 93.14 kB / 0.5163 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.3142, allocations: 1.445 MB / 0.5177 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.3171, allocations: 2.894 MB / 0.5205 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.318, allocations: 0.6068 MB / 0.5211 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3182, allocations: 103.6 kB / 0.5212 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003011/0.3212, allocations: 1.899 MB / 0.5231 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3212, allocations: 49.31 kB / 0.5231 GB, free: 2.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.936e-06/0.3212, allocations: 3.984 kB / 0.5231 GB, free: 2.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.00071/0.322, allocations: 430.4 kB / 0.5235 GB, free: 2.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.322, allocations: 55.34 kB / 0.5236 GB, free: 2.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.3231, allocations: 1.022 MB / 0.5246 GB, free: 1.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.3231, allocations: 33.7 kB / 0.5246 GB, free: 1.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.3234, allocations: 0.5407 MB / 0.5252 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.3235, allocations: 107.2 kB / 0.5253 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.3239, allocations: 332.1 kB / 0.5256 GB, free: 196 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3241, allocations: 0.5547 MB / 0.5261 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.3243, allocations: 130.5 kB / 0.5262 GB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.3251, allocations: 1.112 MB / 0.5273 GB, free: 13.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.3264, allocations: 1.38 MB / 0.5287 GB, free: 12.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.3264, allocations: 8 kB / 0.5287 GB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001356/0.3277, allocations: 0.997 MB / 0.5297 GB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3277, allocations: 16.97 kB / 0.5297 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.3278, allocations: 24.88 kB / 0.5297 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.3278, allocations: 32 kB / 0.5297 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.3284, allocations: 303.5 kB / 0.53 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.398e-05/0.3284, allocations: 51.78 kB / 0.5301 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.3289, allocations: 135 kB / 0.5302 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.329, allocations: 124 kB / 0.5303 GB, free: 10.41 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 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * 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.0002213/0.3292, allocations: 250.6 kB / 0.5305 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3293, allocations: 103.4 kB / 0.5306 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3307, allocations: 0.7359 MB / 0.5314 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3307, allocations: 4 kB / 0.5314 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3307, allocations: 11.92 kB / 0.5314 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3307, allocations: 0 / 0.5314 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.3313, allocations: 0.5315 MB / 0.5319 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3313, allocations: 6.688 kB / 0.5319 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.3315, allocations: 103.9 kB / 0.532 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3315, allocations: 0 / 0.532 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.3315, allocations: 35.98 kB / 0.532 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3315, allocations: 7.984 kB / 0.532 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3315, allocations: 0 / 0.532 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.3321, allocations: 0.5073 MB / 0.5325 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.3324, allocations: 253.1 kB / 0.5328 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.3325, allocations: 4 kB / 0.5328 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3326, allocations: 8 kB / 0.5328 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3327, allocations: 47.89 kB / 0.5328 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.3328, allocations: 83.98 kB / 0.5329 GB, free: 7.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005001/0.3333, allocations: 0.5028 MB / 0.5334 GB, free: 7.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3333, allocations: 0 / 0.5334 GB, free: 7.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007911/0.3341, allocations: 199.8 kB / 0.5336 GB, free: 6.969 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.00037/0.3345, allocations: 231.1 kB / 0.5338 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008159/0.3353, allocations: 0.5357 MB / 0.5343 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3353, allocations: 0 / 0.5343 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.3355, allocations: 127.6 kB / 0.5345 GB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.3362, allocations: 126.7 kB / 0.5346 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.338, allocations: 1.152 MB / 0.5357 GB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3381, allocations: 162.2 kB / 0.5359 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001444/0.3396, allocations: 0.5007 MB / 0.5364 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.34, allocations: 144.3 kB / 0.5365 GB, free: 3.969 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.34, allocations: 4 kB / 0.5365 GB, free: 3.965 MB / 410.7 MB Notification: Performance of Templates: time 0.0111/0.3511, allocations: 8.614 MB / 0.5449 GB, free: 11.54 MB / 426.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.573969116900116]