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.0008628/0.0008628, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00291/0.003773, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009388/0.0009388, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002196, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9771/0.9771, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.082, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1003/0.1003, allocations: 17.45 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02236/0.1227, allocations: 6.971 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.593e-06/1.593e-06, allocations: 0 / 269.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.72e-05, allocations: 2.312 kB / 269.9 MB, free: 4.98 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.01194/0.01197, allocations: 3.23 MB / 273.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.2932/0.3052, allocations: 135.4 MB / 408.5 MB, free: 7.227 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/0.3056, allocations: 7.938 kB / 408.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.3079, allocations: 0.7316 MB / 409.2 MB, free: 6.488 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.3122, allocations: 2.558 MB / 411.8 MB, free: 3.918 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.3139, allocations: 0.6231 MB / 412.4 MB, free: 3.293 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.3171, allocations: 2.017 MB / 414.4 MB, free: 1.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3172, allocations: 38.45 kB / 414.5 MB, free: 1.234 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007221/0.3179, allocations: 498.8 kB / 414.9 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.3187, allocations: 435.2 kB / 415.4 MB, free: 328 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.3188, allocations: 20 kB / 415.4 MB, free: 308 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.321, allocations: 0.8573 MB / 416.2 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.3212, allocations: 171.3 kB / 416.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3214, allocations: 163.5 kB / 416.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.3237, allocations: 1.429 MB / 418 MB, free: 13.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.3237, allocations: 4 kB / 418 MB, free: 13.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3237, allocations: 0 / 418 MB, free: 13.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.3237, allocations: 0 / 418 MB, free: 13.68 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.001643/0.3253, allocations: 1.251 MB / 419.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3254, allocations: 12.03 kB / 419.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008998/0.3263, allocations: 0.5478 MB / 419.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.3268, allocations: 337.4 kB / 420.1 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.3268, allocations: 29.38 kB / 420.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.3269, allocations: 49.67 kB / 420.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.3278, allocations: 0.9568 MB / 421.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3279, allocations: 192 / 421.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3279, allocations: 20.56 kB / 421.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.328, allocations: 89.17 kB / 421.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3292, allocations: 1.165 MB / 422.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.332, allocations: 2.219 MB / 424.7 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.3327, allocations: 480.5 kB / 425.1 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3328, allocations: 56.84 kB / 425.2 MB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002821/0.3357, allocations: 1.68 MB / 426.9 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3357, allocations: 30.56 kB / 426.9 MB, free: 4.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.866e-06/0.3357, allocations: 4 kB / 426.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004453/0.3361, allocations: 239.4 kB / 427.1 MB, free: 4.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3362, allocations: 55.41 kB / 427.2 MB, free: 4.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.3368, allocations: 0.7369 MB / 427.9 MB, free: 3.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.3368, allocations: 33.7 kB / 428 MB, free: 3.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3371, allocations: 479 kB / 428.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.3371, allocations: 111.2 kB / 428.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.3374, allocations: 266.4 kB / 428.8 MB, free: 2.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3375, allocations: 354.7 kB / 429.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3377, allocations: 94.56 kB / 429.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.3382, allocations: 0.7749 MB / 430 MB, free: 1.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2198/0.5581, allocations: 1.061 MB / 431.1 MB, free: 18.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/0.5581, allocations: 8.578 kB / 431.1 MB, free: 18.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001221/0.5593, allocations: 0.7403 MB / 431.8 MB, free: 18.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.5593, allocations: 16 kB / 431.8 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/0.5594, allocations: 23.47 kB / 431.9 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.127e-05/0.5594, allocations: 33.7 kB / 431.9 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.5602, allocations: 327.1 kB / 432.2 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.701e-05/0.5602, allocations: 44.52 kB / 432.3 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.5607, allocations: 145.9 kB / 432.4 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5609, allocations: 108 kB / 432.5 MB, free: 18.11 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.000307/0.5612, allocations: 206.4 kB / 432.7 MB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.5613, allocations: 72.97 kB / 432.8 MB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.5624, allocations: 0.5738 MB / 433.4 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.5624, allocations: 2.562 kB / 433.4 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5624, allocations: 8.281 kB / 433.4 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.5624, allocations: 5.422 kB / 433.4 MB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.5629, allocations: 272.2 kB / 433.6 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5629, allocations: 0 / 433.6 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.5632, allocations: 118.3 kB / 433.8 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.5636, allocations: 218.2 kB / 434 MB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5636, allocations: 2.094 kB / 434 MB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.5637, allocations: 17.55 kB / 434 MB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5637, allocations: 0.5312 kB / 434 MB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5637, allocations: 1.562 kB / 434 MB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.5641, allocations: 308.7 kB / 434.3 MB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.5642, allocations: 9.594 kB / 434.3 MB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5643, allocations: 8.812 kB / 434.3 MB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.5644, allocations: 27.44 kB / 434.3 MB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5645, allocations: 68.98 kB / 434.4 MB, free: 17.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004492/0.5649, allocations: 312.1 kB / 434.7 MB, free: 17.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5649, allocations: 0 / 434.7 MB, free: 17.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008943/0.5658, allocations: 195.9 kB / 434.9 MB, free: 17.59 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.0004556/0.5663, allocations: 223.3 kB / 435.1 MB, free: 17.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.5671, allocations: 452.2 kB / 435.6 MB, free: 17.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.732e-05/0.5671, allocations: 19 kB / 435.6 MB, free: 17.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.5673, allocations: 127.7 kB / 435.7 MB, free: 17.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.568, allocations: 0.5989 MB / 436.3 MB, free: 17.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.5717, allocations: 1.112 MB / 437.4 MB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.5719, allocations: 162.4 kB / 437.6 MB, free: 16.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.5729, allocations: 444.4 kB / 438 MB, free: 16.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.5734, allocations: 254.3 kB / 438.2 MB, free: 16.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/0.5734, allocations: 1.859 kB / 438.3 MB, free: 16.2 MB / 410.7 MB Notification: Performance of Templates: time 0.01399/0.5874, allocations: 9.437 MB / 447.7 MB, free: 15.12 MB / 410.7 MB " [Timeout remaining time 659] 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.456969025544822]