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.001053/0.001053, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001159/0.001159, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9922/0.9922, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.09783/0.09783, allocations: 17.38 MB / 277.6 MB, free: 11.47 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.603e-06/1.603e-06, allocations: 0 / 353.9 MB, free: 9.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.703e-05, allocations: 6.25 kB / 353.9 MB, free: 9.676 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.03/0.03003, allocations: 26.76 MB / 380.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2462/0.2762, allocations: 132.2 MB / 0.5008 GB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.2764, allocations: 7.938 kB / 0.5008 GB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.2779, allocations: 0.6622 MB / 0.5015 GB, free: 8.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.2798, allocations: 2.068 MB / 0.5035 GB, free: 6.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.2807, allocations: 0.534 MB / 0.504 GB, free: 6.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.2827, allocations: 2.1 MB / 0.5061 GB, free: 4.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.3e-05/0.2828, allocations: 29.91 kB / 0.5061 GB, free: 4.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.2831, allocations: 486.9 kB / 0.5066 GB, free: 3.684 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.2835, allocations: 443.3 kB / 0.507 GB, free: 3.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.2836, allocations: 20 kB / 0.507 GB, free: 3.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.2844, allocations: 0.6861 MB / 0.5077 GB, free: 2.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.2845, allocations: 155.3 kB / 0.5078 GB, free: 2.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2846, allocations: 163.4 kB / 0.508 GB, free: 2.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2857, allocations: 1.511 MB / 0.5094 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2858, allocations: 7.922 kB / 0.5095 GB, free: 0.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2858, allocations: 0 / 0.5095 GB, free: 0.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2858, allocations: 0 / 0.5095 GB, free: 0.707 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.0009325/0.2867, allocations: 1.187 MB / 0.5106 GB, free: 15.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2867, allocations: 12.03 kB / 0.5106 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.2873, allocations: 0.5594 MB / 0.5112 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2876, allocations: 368.1 kB / 0.5115 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2876, allocations: 33.36 kB / 0.5116 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.2876, allocations: 44.38 kB / 0.5116 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.2883, allocations: 0.9644 MB / 0.5125 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2883, allocations: 4.188 kB / 0.5125 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2883, allocations: 20.56 kB / 0.5126 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.2884, allocations: 89.2 kB / 0.5126 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.2892, allocations: 1.17 MB / 0.5138 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.2912, allocations: 2.73 MB / 0.5165 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.2918, allocations: 0.5831 MB / 0.517 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.2919, allocations: 87.59 kB / 0.5171 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/0.2938, allocations: 1.933 MB / 0.519 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2939, allocations: 33.39 kB / 0.519 GB, free: 6.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/0.2939, allocations: 0 / 0.519 GB, free: 6.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004126/0.2943, allocations: 398.2 kB / 0.5194 GB, free: 6.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.2943, allocations: 51.41 kB / 0.5195 GB, free: 6.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.2949, allocations: 1.025 MB / 0.5205 GB, free: 5.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2949, allocations: 33.7 kB / 0.5205 GB, free: 5.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.2951, allocations: 0.533 MB / 0.521 GB, free: 4.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.2952, allocations: 107.2 kB / 0.5211 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.2954, allocations: 336 kB / 0.5214 GB, free: 4.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2956, allocations: 0.5586 MB / 0.522 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2957, allocations: 110.5 kB / 0.5221 GB, free: 3.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.2962, allocations: 1.104 MB / 0.5232 GB, free: 1.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.2969, allocations: 1.341 MB / 0.5245 GB, free: 140 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.2969, allocations: 8 kB / 0.5245 GB, free: 132 kB / 394.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0008129/0.2977, allocations: 0.9268 MB / 0.5254 GB, free: 15.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2977, allocations: 23.95 kB / 0.5254 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.2977, allocations: 24 kB / 0.5254 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.2978, allocations: 36 kB / 0.5255 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.2981, allocations: 299.5 kB / 0.5258 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.2982, allocations: 53.8 kB / 0.5258 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.2984, allocations: 139 kB / 0.5259 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.2985, allocations: 126.8 kB / 0.5261 GB, free: 14.52 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.0001622/0.2987, allocations: 244 kB / 0.5263 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.2987, allocations: 87.44 kB / 0.5264 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.2996, allocations: 0.72 MB / 0.5271 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2996, allocations: 8 kB / 0.5271 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.2996, allocations: 0 / 0.5271 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2996, allocations: 3.938 kB / 0.5271 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.2999, allocations: 400.7 kB / 0.5275 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2999, allocations: 0 / 0.5275 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3001, allocations: 103.9 kB / 0.5276 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3001, allocations: 4 kB / 0.5276 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.3001, allocations: 31.98 kB / 0.5276 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3001, allocations: 4 kB / 0.5276 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3001, allocations: 0 / 0.5276 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3004, allocations: 491.5 kB / 0.5281 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.3007, allocations: 249.2 kB / 0.5283 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.3007, allocations: 6.625 kB / 0.5283 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.3008, allocations: 8 kB / 0.5283 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3009, allocations: 43.95 kB / 0.5284 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.3009, allocations: 79.98 kB / 0.5284 GB, free: 12.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000275/0.3012, allocations: 498.7 kB / 0.5289 GB, free: 11.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3012, allocations: 0 / 0.5289 GB, free: 11.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000472/0.3017, allocations: 183.8 kB / 0.5291 GB, free: 11.34 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.0002748/0.3019, allocations: 239.2 kB / 0.5293 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.3024, allocations: 0.5077 MB / 0.5298 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3024, allocations: 0 / 0.5298 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3025, allocations: 124.9 kB / 0.5299 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3028, allocations: 133.6 kB / 0.5301 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.304, allocations: 1.128 MB / 0.5312 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.3041, allocations: 166.2 kB / 0.5313 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007526/0.3049, allocations: 438.3 kB / 0.5317 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.3053, allocations: 298 kB / 0.532 GB, free: 8.289 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3053, allocations: 0 / 0.532 GB, free: 8.289 MB / 410.7 MB Notification: Performance of Templates: time 0.01089/0.3162, allocations: 10.31 MB / 0.5421 GB, free: 14.2 MB / 426.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=240 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2323127980343997]