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.001403/0.001403, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001808/0.001808, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1439/0.1439, allocations: 17.37 MB / 276.9 MB, free: 11.69 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.503e-06/1.503e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.771e-05, allocations: 8.281 kB / 352.7 MB, free: 10.35 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.03662/0.03665, allocations: 24.14 MB / 376.8 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3681/0.4047, allocations: 122.1 MB / 498.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.4051, allocations: 7.938 kB / 499 MB, free: 4.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.4076, allocations: 0.6627 MB / 499.6 MB, free: 4.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.4117, allocations: 1.932 MB / 0.4898 GB, free: 2.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.4135, allocations: 0.5203 MB / 0.4903 GB, free: 1.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004087/0.4176, allocations: 2.022 MB / 0.4923 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.4177, allocations: 29.95 kB / 0.4923 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006712/0.4184, allocations: 466.9 kB / 0.4928 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/0.4191, allocations: 451.2 kB / 0.4932 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/0.4192, allocations: 20 kB / 0.4932 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.4211, allocations: 0.6783 MB / 0.4939 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.4213, allocations: 167.3 kB / 0.494 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4216, allocations: 163.4 kB / 0.4942 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.424, allocations: 1.667 MB / 0.4958 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.424, allocations: 0 / 0.4958 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.424, allocations: 0 / 0.4958 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.424, allocations: 0 / 0.4958 GB, free: 12.12 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.00191/0.4259, allocations: 1.013 MB / 0.4968 GB, free: 11.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.426, allocations: 8.031 kB / 0.4968 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4271, allocations: 0.5633 MB / 0.4974 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.4277, allocations: 369.3 kB / 0.4977 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.4278, allocations: 37.38 kB / 0.4977 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.4279, allocations: 44.38 kB / 0.4978 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.4311, allocations: 2.625 MB / 0.5003 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4311, allocations: 192 / 0.5003 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.4312, allocations: 20.55 kB / 0.5004 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.4313, allocations: 93.2 kB / 0.5005 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.4364, allocations: 4.238 MB / 0.5046 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.4415, allocations: 3.29 MB / 0.5078 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4426, allocations: 479.3 kB / 0.5083 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.4428, allocations: 112.8 kB / 0.5084 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004669/0.4475, allocations: 1.898 MB / 0.5102 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.4475, allocations: 38.56 kB / 0.5103 GB, free: 13.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.4475, allocations: 0 / 0.5103 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009772/0.4485, allocations: 466.5 kB / 0.5107 GB, free: 12.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.4486, allocations: 63.28 kB / 0.5108 GB, free: 12.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4499, allocations: 0.9148 MB / 0.5117 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.4499, allocations: 29.7 kB / 0.5117 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.4504, allocations: 479.1 kB / 0.5121 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.4505, allocations: 107.2 kB / 0.5122 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.451, allocations: 294.4 kB / 0.5125 GB, free: 10.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.4513, allocations: 354.8 kB / 0.5129 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4517, allocations: 230.5 kB / 0.5131 GB, free: 10.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.453, allocations: 0.8883 MB / 0.514 GB, free: 8.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.4548, allocations: 1.223 MB / 0.5151 GB, free: 7.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.4548, allocations: 8.875 kB / 0.5152 GB, free: 7.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002055/0.4569, allocations: 1.177 MB / 0.5163 GB, free: 6.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4569, allocations: 12 kB / 0.5163 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.4569, allocations: 24 kB / 0.5163 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.664e-05/0.457, allocations: 32 kB / 0.5164 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.4578, allocations: 303.4 kB / 0.5167 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.257e-05/0.4578, allocations: 52.31 kB / 0.5167 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.4584, allocations: 139 kB / 0.5168 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.4586, allocations: 130.9 kB / 0.517 GB, free: 5.527 MB / 394.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.00058/0.4592, allocations: 337.1 kB / 0.5173 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.4593, allocations: 103.3 kB / 0.5174 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.4612, allocations: 0.7735 MB / 0.5181 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.4612, allocations: 4 kB / 0.5181 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.4612, allocations: 9.688 kB / 0.5182 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4612, allocations: 0 / 0.5182 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.4619, allocations: 417 kB / 0.5186 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4619, allocations: 4 kB / 0.5186 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.4622, allocations: 107.9 kB / 0.5187 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.4622, allocations: 4 kB / 0.5187 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.4622, allocations: 31.98 kB / 0.5187 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4622, allocations: 4 kB / 0.5187 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4622, allocations: 0 / 0.5187 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.463, allocations: 499 kB / 0.5192 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.4635, allocations: 257.2 kB / 0.5194 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.4636, allocations: 4 kB / 0.5194 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.4639, allocations: 18.67 kB / 0.5194 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.464, allocations: 43.91 kB / 0.5195 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.4641, allocations: 87.97 kB / 0.5196 GB, free: 2.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007639/0.4649, allocations: 0.5615 MB / 0.5201 GB, free: 2.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4649, allocations: 3.938 kB / 0.5201 GB, free: 2.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001042/0.4659, allocations: 179.8 kB / 0.5203 GB, free: 2.062 MB / 394.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.0005439/0.4664, allocations: 227.2 kB / 0.5205 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.4675, allocations: 0.5708 MB / 0.5211 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4675, allocations: 1 kB / 0.5211 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.4678, allocations: 147.8 kB / 0.5212 GB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.4684, allocations: 130.9 kB / 0.5213 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4706, allocations: 1.283 MB / 0.5226 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.4711, allocations: 359.7 kB / 0.5229 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001474/0.4725, allocations: 0.5136 MB / 0.5234 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.4729, allocations: 140.3 kB / 0.5236 GB, free: 14.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4729, allocations: 0 / 0.5236 GB, free: 14.68 MB / 410.7 MB Notification: Performance of Templates: time 0.01746/0.4904, allocations: 8.599 MB / 0.532 GB, free: 6.227 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=480 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.192336978041567]