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.001161/0.001161, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001501/0.001501, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.09452/0.09452, allocations: 17.47 MB / 278.5 MB, free: 11.39 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 8.02e-07/8.02e-07, allocations: 0 / 354.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.256e-05, allocations: 2.312 kB / 354.8 MB, free: 10.45 MB / 330.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.03365/0.03367, allocations: 26.84 MB / 381.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3224/0.3561, allocations: 132.8 MB / 0.5024 GB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.3564, allocations: 8.75 kB / 0.5024 GB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.3581, allocations: 0.713 MB / 0.5031 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.361, allocations: 2.512 MB / 0.5056 GB, free: 41.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3626, allocations: 0.6271 MB / 0.5062 GB, free: 41.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.3654, allocations: 2.187 MB / 0.5083 GB, free: 40.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.3655, allocations: 26.09 kB / 0.5083 GB, free: 40.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.366, allocations: 0.495 MB / 0.5088 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.3665, allocations: 480.5 kB / 0.5093 GB, free: 40.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.3666, allocations: 19.41 kB / 0.5093 GB, free: 40.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.3682, allocations: 0.8535 MB / 0.5101 GB, free: 40.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3684, allocations: 187.5 kB / 0.5103 GB, free: 40.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.3685, allocations: 184.8 kB / 0.5105 GB, free: 40.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.3701, allocations: 1.585 MB / 0.512 GB, free: 39.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3701, allocations: 0 / 0.512 GB, free: 39.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3701, allocations: 0 / 0.512 GB, free: 39.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.3701, allocations: 0 / 0.512 GB, free: 39.34 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.00119/0.3713, allocations: 1.22 MB / 0.5132 GB, free: 38.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3713, allocations: 8.031 kB / 0.5132 GB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.372, allocations: 0.5726 MB / 0.5138 GB, free: 38.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3723, allocations: 368 kB / 0.5141 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3724, allocations: 34.3 kB / 0.5142 GB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.3724, allocations: 48.78 kB / 0.5142 GB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.3731, allocations: 0.975 MB / 0.5152 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3731, allocations: 192 / 0.5152 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3731, allocations: 17.56 kB / 0.5152 GB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.686e-05/0.3732, allocations: 93.45 kB / 0.5153 GB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.374, allocations: 1.17 MB / 0.5164 GB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.3761, allocations: 2.733 MB / 0.5191 GB, free: 35.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.3767, allocations: 0.5776 MB / 0.5197 GB, free: 35.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.3768, allocations: 91.86 kB / 0.5197 GB, free: 35.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.379, allocations: 1.904 MB / 0.5216 GB, free: 34.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3791, allocations: 41.33 kB / 0.5216 GB, free: 34.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.3791, allocations: 2.062 kB / 0.5216 GB, free: 34.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004528/0.3795, allocations: 395.7 kB / 0.522 GB, free: 34.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.3795, allocations: 54.59 kB / 0.5221 GB, free: 34.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.3801, allocations: 1.032 MB / 0.5231 GB, free: 33.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3802, allocations: 32.58 kB / 0.5231 GB, free: 33.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3804, allocations: 0.5459 MB / 0.5236 GB, free: 33.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.3804, allocations: 107.3 kB / 0.5237 GB, free: 33.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.3807, allocations: 334.4 kB / 0.5241 GB, free: 33.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.3808, allocations: 0.5645 MB / 0.5246 GB, free: 32.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3809, allocations: 103.6 kB / 0.5247 GB, free: 32.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.3813, allocations: 1.099 MB / 0.5258 GB, free: 31.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.382, allocations: 1.355 MB / 0.5271 GB, free: 29.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.382, allocations: 5.5 kB / 0.5271 GB, free: 29.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0008869/0.3829, allocations: 0.9369 MB / 0.528 GB, free: 29.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3829, allocations: 16.88 kB / 0.5281 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.3829, allocations: 24.75 kB / 0.5281 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.383, allocations: 30 kB / 0.5281 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.3834, allocations: 299 kB / 0.5284 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.3834, allocations: 57.31 kB / 0.5284 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.3837, allocations: 138 kB / 0.5286 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.3838, allocations: 120.9 kB / 0.5287 GB, free: 29.33 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.0001846/0.384, allocations: 241.4 kB / 0.5289 GB, free: 29.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3841, allocations: 106.2 kB / 0.529 GB, free: 29.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009378/0.385, allocations: 0.72 MB / 0.5297 GB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.385, allocations: 3.031 kB / 0.5297 GB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3851, allocations: 2 kB / 0.5297 GB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3851, allocations: 10.47 kB / 0.5297 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.3854, allocations: 394.4 kB / 0.5301 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3854, allocations: 0 / 0.5301 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3856, allocations: 108.8 kB / 0.5302 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3856, allocations: 2.438 kB / 0.5302 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.3856, allocations: 31.31 kB / 0.5303 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3856, allocations: 0 / 0.5303 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3856, allocations: 0 / 0.5303 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.386, allocations: 0.4888 MB / 0.5307 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.3862, allocations: 249.2 kB / 0.531 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.3863, allocations: 10.02 kB / 0.531 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3864, allocations: 9.469 kB / 0.531 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.3865, allocations: 40.86 kB / 0.531 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.3865, allocations: 89.89 kB / 0.5311 GB, free: 28.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003036/0.3868, allocations: 486.6 kB / 0.5316 GB, free: 27.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3868, allocations: 0 / 0.5316 GB, free: 27.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006901/0.3875, allocations: 206.8 kB / 0.5318 GB, free: 27.85 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.0003103/0.3878, allocations: 245.7 kB / 0.532 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.3883, allocations: 0.502 MB / 0.5325 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3883, allocations: 1.875 kB / 0.5325 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3884, allocations: 129.5 kB / 0.5326 GB, free: 27.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3888, allocations: 126 kB / 0.5327 GB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3903, allocations: 1.133 MB / 0.5338 GB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.3904, allocations: 162.1 kB / 0.534 GB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007935/0.3912, allocations: 443.1 kB / 0.5344 GB, free: 26.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.3916, allocations: 293.9 kB / 0.5347 GB, free: 26.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3916, allocations: 0 / 0.5347 GB, free: 26.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01218/0.4037, allocations: 10.41 MB / 0.5449 GB, free: 16.38 MB / 410.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.6460005147382617]