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.001723/0.001723, allocations: 85.48 kB / 19.44 MB, free: 344 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.001813/0.001813, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.619/1.619, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.1654/0.1654, allocations: 17.45 MB / 277 MB, free: 11.61 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.773e-06/1.773e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.114e-05, allocations: 2.312 kB / 352.8 MB, free: 10.2 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.03912/0.03916, allocations: 24.51 MB / 377.3 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3554/0.3945, allocations: 135.1 MB / 0.5004 GB, free: 8.883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.3949, allocations: 15.94 kB / 0.5004 GB, free: 8.867 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.3975, allocations: 0.7082 MB / 0.5011 GB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.4026, allocations: 2.535 MB / 0.5036 GB, free: 5.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.4048, allocations: 0.6265 MB / 0.5042 GB, free: 4.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004471/0.4093, allocations: 2.1 MB / 0.5063 GB, free: 2.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4094, allocations: 25.97 kB / 0.5063 GB, free: 2.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.4104, allocations: 498.8 kB / 0.5068 GB, free: 2.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.4113, allocations: 483.1 kB / 0.5072 GB, free: 1.891 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.593e-05/0.4113, allocations: 20 kB / 0.5072 GB, free: 1.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.4137, allocations: 0.8456 MB / 0.5081 GB, free: 1.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.4139, allocations: 187.3 kB / 0.5082 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.4142, allocations: 187.4 kB / 0.5084 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.4169, allocations: 1.737 MB / 0.5101 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4169, allocations: 0 / 0.5101 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4169, allocations: 0 / 0.5101 GB, free: 14.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4169, allocations: 0 / 0.5101 GB, free: 14.91 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.001947/0.4188, allocations: 1.234 MB / 0.5113 GB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4189, allocations: 8.031 kB / 0.5113 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.42, allocations: 0.5672 MB / 0.5119 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.4206, allocations: 368.2 kB / 0.5122 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.4207, allocations: 41.3 kB / 0.5123 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.4207, allocations: 48.38 kB / 0.5123 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4223, allocations: 1.12 MB / 0.5134 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4223, allocations: 192 / 0.5134 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.4225, allocations: 16.56 kB / 0.5134 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.4226, allocations: 93.2 kB / 0.5135 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.4248, allocations: 1.645 MB / 0.5151 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.4298, allocations: 3.194 MB / 0.5183 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4309, allocations: 484.8 kB / 0.5187 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.4312, allocations: 119.6 kB / 0.5188 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004964/0.4361, allocations: 1.928 MB / 0.5207 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.4362, allocations: 47.08 kB / 0.5208 GB, free: 3.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.4362, allocations: 0 / 0.5208 GB, free: 3.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009991/0.4372, allocations: 466.5 kB / 0.5212 GB, free: 3.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.4372, allocations: 55.34 kB / 0.5213 GB, free: 3.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.4387, allocations: 1.123 MB / 0.5224 GB, free: 2.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.4388, allocations: 29.7 kB / 0.5224 GB, free: 2.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.4393, allocations: 0.5642 MB / 0.5229 GB, free: 1.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4394, allocations: 99.27 kB / 0.523 GB, free: 1.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.4399, allocations: 352 kB / 0.5234 GB, free: 1.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003748/0.4403, allocations: 0.5665 MB / 0.5239 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.4406, allocations: 166.5 kB / 0.5241 GB, free: 340 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.4419, allocations: 1.163 MB / 0.5252 GB, free: 14.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.4437, allocations: 1.439 MB / 0.5266 GB, free: 12.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.4437, allocations: 8 kB / 0.5266 GB, free: 12.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001943/0.4457, allocations: 1.049 MB / 0.5276 GB, free: 11.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.4457, allocations: 16.19 kB / 0.5277 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.4458, allocations: 28 kB / 0.5277 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.288e-05/0.4458, allocations: 32 kB / 0.5277 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.4466, allocations: 303.4 kB / 0.528 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.191e-05/0.4467, allocations: 51.78 kB / 0.5281 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.4473, allocations: 139 kB / 0.5282 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.4475, allocations: 132 kB / 0.5283 GB, free: 11.07 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.0004469/0.448, allocations: 278.8 kB / 0.5286 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4482, allocations: 103.4 kB / 0.5287 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.4501, allocations: 0.7672 MB / 0.5294 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4501, allocations: 0 / 0.5294 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4501, allocations: 3.938 kB / 0.5294 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4501, allocations: 4 kB / 0.5294 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.4511, allocations: 0.5862 MB / 0.53 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4511, allocations: 0 / 0.53 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.4514, allocations: 107.9 kB / 0.5301 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4514, allocations: 4 kB / 0.5301 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.4515, allocations: 27.98 kB / 0.5301 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4515, allocations: 4 kB / 0.5301 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4515, allocations: 4 kB / 0.5301 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008279/0.4523, allocations: 0.5308 MB / 0.5307 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006224/0.4529, allocations: 249.2 kB / 0.5309 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/0.453, allocations: 8 kB / 0.5309 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.4532, allocations: 11.98 kB / 0.5309 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4533, allocations: 39.91 kB / 0.531 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.4535, allocations: 95.91 kB / 0.5311 GB, free: 8.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008011/0.4543, allocations: 0.5497 MB / 0.5316 GB, free: 7.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4543, allocations: 0 / 0.5316 GB, free: 7.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001069/0.4553, allocations: 199.7 kB / 0.5318 GB, free: 7.453 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.000522/0.4559, allocations: 241.8 kB / 0.532 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4571, allocations: 0.5936 MB / 0.5326 GB, free: 6.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4571, allocations: 0 / 0.5326 GB, free: 6.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4573, allocations: 151.5 kB / 0.5327 GB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.458, allocations: 122.2 kB / 0.5329 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.4604, allocations: 1.173 MB / 0.534 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.4608, allocations: 350.5 kB / 0.5343 GB, free: 4.777 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001537/0.4623, allocations: 0.5006 MB / 0.5348 GB, free: 4.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.4628, allocations: 140.3 kB / 0.535 GB, free: 4.164 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4628, allocations: 4 kB / 0.535 GB, free: 4.16 MB / 410.7 MB Notification: Performance of Templates: time 0.01808/0.4808, allocations: 8.617 MB / 0.5434 GB, free: 11.68 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: 5.541462371009402]