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.001225/0.001225, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009915/0.0009915, allocations: 169 kB / 23.02 MB, free: 1.551 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.9442/0.9442, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.1015/0.1015, allocations: 17.46 MB / 277.4 MB, free: 11.57 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.563e-06/1.563e-06, allocations: 0 / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.617e-05, allocations: 2.312 kB / 353.6 MB, free: 9.844 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.02799/0.02801, allocations: 26.82 MB / 380.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3043/0.3323, allocations: 135.4 MB / 0.5037 GB, free: 6.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.3328, allocations: 7.938 kB / 0.5037 GB, free: 6.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.3356, allocations: 0.7098 MB / 0.5044 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006014/0.3416, allocations: 2.562 MB / 0.5069 GB, free: 3.434 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.3443, allocations: 0.6134 MB / 0.5075 GB, free: 2.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.349, allocations: 2.162 MB / 0.5096 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.3492, allocations: 29.91 kB / 0.5096 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008555/0.35, allocations: 0.4911 MB / 0.5101 GB, free: 124 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009428/0.351, allocations: 483.1 kB / 0.5106 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3511, allocations: 20 kB / 0.5106 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.3535, allocations: 0.8456 MB / 0.5114 GB, free: 14.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3536, allocations: 191.2 kB / 0.5116 GB, free: 14.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3538, allocations: 191.4 kB / 0.5118 GB, free: 14.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.356, allocations: 1.577 MB / 0.5133 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.356, allocations: 0 / 0.5133 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.356, allocations: 0 / 0.5133 GB, free: 12.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.3561, allocations: 0 / 0.5133 GB, free: 12.82 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.00208/0.3581, allocations: 1.219 MB / 0.5145 GB, free: 11.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3582, allocations: 12.03 kB / 0.5145 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3592, allocations: 0.5669 MB / 0.5151 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.3597, allocations: 376.1 kB / 0.5154 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3597, allocations: 33.38 kB / 0.5155 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.3598, allocations: 44.38 kB / 0.5155 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3609, allocations: 1.125 MB / 0.5166 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3609, allocations: 192 / 0.5166 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.361, allocations: 20.56 kB / 0.5166 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.714e-05/0.3611, allocations: 93.19 kB / 0.5167 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.3628, allocations: 1.445 MB / 0.5181 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.3663, allocations: 2.898 MB / 0.521 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.3672, allocations: 0.6067 MB / 0.5216 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3673, allocations: 95.66 kB / 0.5217 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/0.3707, allocations: 1.911 MB / 0.5235 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.3707, allocations: 41.39 kB / 0.5236 GB, free: 2.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.546e-06/0.3707, allocations: 0 / 0.5236 GB, free: 2.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007464/0.3714, allocations: 426.4 kB / 0.524 GB, free: 1.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3715, allocations: 55.34 kB / 0.524 GB, free: 1.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3725, allocations: 1.022 MB / 0.525 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3725, allocations: 33.7 kB / 0.525 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.3729, allocations: 0.5446 MB / 0.5256 GB, free: 8 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.3729, allocations: 111.1 kB / 0.5257 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.3733, allocations: 328.1 kB / 0.526 GB, free: 15.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3735, allocations: 0.5547 MB / 0.5265 GB, free: 15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3738, allocations: 138.5 kB / 0.5267 GB, free: 14.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008636/0.3746, allocations: 1.112 MB / 0.5278 GB, free: 13.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.376, allocations: 1.373 MB / 0.5291 GB, free: 11.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/0.376, allocations: 8 kB / 0.5291 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001546/0.3776, allocations: 1.003 MB / 0.5301 GB, free: 10.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.3776, allocations: 19.98 kB / 0.5301 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.3776, allocations: 24 kB / 0.5301 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/0.3777, allocations: 32 kB / 0.5302 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.3783, allocations: 299.4 kB / 0.5304 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.821e-05/0.3783, allocations: 43.86 kB / 0.5305 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.3789, allocations: 135 kB / 0.5306 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.3791, allocations: 128 kB / 0.5307 GB, free: 9.789 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.0002969/0.3794, allocations: 250.6 kB / 0.531 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.3795, allocations: 107.4 kB / 0.5311 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.381, allocations: 0.7393 MB / 0.5318 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.381, allocations: 0 / 0.5318 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.381, allocations: 7.938 kB / 0.5318 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.381, allocations: 0 / 0.5318 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.3818, allocations: 0.5419 MB / 0.5323 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3818, allocations: 4 kB / 0.5323 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3821, allocations: 99.95 kB / 0.5324 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.3821, allocations: 8 kB / 0.5324 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.3821, allocations: 27.98 kB / 0.5325 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3822, allocations: 4 kB / 0.5325 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3822, allocations: 3.938 kB / 0.5325 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.3828, allocations: 0.5074 MB / 0.533 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.3831, allocations: 253.2 kB / 0.5332 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.3832, allocations: 4 kB / 0.5332 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3834, allocations: 4 kB / 0.5332 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.3835, allocations: 51.89 kB / 0.5333 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.159e-05/0.3836, allocations: 83.98 kB / 0.5334 GB, free: 7.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004847/0.3841, allocations: 0.5028 MB / 0.5338 GB, free: 6.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3841, allocations: 4 kB / 0.5338 GB, free: 6.535 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008676/0.3849, allocations: 203.7 kB / 0.534 GB, free: 6.336 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.0003994/0.3853, allocations: 221.8 kB / 0.5343 GB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000961/0.3863, allocations: 0.5342 MB / 0.5348 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3863, allocations: 0 / 0.5348 GB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.3865, allocations: 133.2 kB / 0.5349 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.3871, allocations: 131.2 kB / 0.535 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3892, allocations: 1.152 MB / 0.5362 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3893, allocations: 158.2 kB / 0.5363 GB, free: 3.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.3904, allocations: 0.497 MB / 0.5368 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.3908, allocations: 144.3 kB / 0.5369 GB, free: 3.348 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3908, allocations: 0 / 0.5369 GB, free: 3.348 MB / 410.7 MB Notification: Performance of Templates: time 0.02531/0.4161, allocations: 10.44 MB / 0.5471 GB, free: 9.148 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.793422773014754]