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.002291/0.002291, 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.002659/0.002659, allocations: 173.2 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.631/1.631, allocations: 177.1 MB / 203.1 MB, free: 5.648 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.1511/0.1511, allocations: 17.37 MB / 276.9 MB, free: 11.73 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 2.164e-06/2.164e-06, allocations: 0 / 352.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.885e-05/4.102e-05, allocations: 4.703 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.03702/0.03706, allocations: 24.43 MB / 377.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3279/0.365, allocations: 134.4 MB / 0.4996 GB, free: 9.773 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.3654, allocations: 4 kB / 0.4996 GB, free: 9.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.3681, allocations: 0.6669 MB / 0.5002 GB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.3724, allocations: 2.095 MB / 0.5023 GB, free: 7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3742, allocations: 0.532 MB / 0.5028 GB, free: 6.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004264/0.3785, allocations: 2.023 MB / 0.5048 GB, free: 4.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.3786, allocations: 21.97 kB / 0.5048 GB, free: 4.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.3793, allocations: 467 kB / 0.5052 GB, free: 3.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/0.3802, allocations: 451.2 kB / 0.5057 GB, free: 3.516 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.3803, allocations: 16 kB / 0.5057 GB, free: 3.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.3823, allocations: 0.6783 MB / 0.5064 GB, free: 2.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.3825, allocations: 167.3 kB / 0.5065 GB, free: 2.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.3828, allocations: 159.4 kB / 0.5067 GB, free: 2.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.3854, allocations: 1.667 MB / 0.5083 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3854, allocations: 4 kB / 0.5083 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3854, allocations: 0 / 0.5083 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3854, allocations: 0 / 0.5083 GB, free: 0.8242 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.001974/0.3874, allocations: 1.199 MB / 0.5095 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3874, allocations: 8.031 kB / 0.5095 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.3885, allocations: 0.5594 MB / 0.51 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.3892, allocations: 372.1 kB / 0.5104 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.3892, allocations: 37.36 kB / 0.5104 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.3893, allocations: 40.38 kB / 0.5105 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.3909, allocations: 1.12 MB / 0.5115 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3909, allocations: 4.125 kB / 0.5115 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.391, allocations: 16.56 kB / 0.5116 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.3911, allocations: 97.19 kB / 0.5117 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.3933, allocations: 1.641 MB / 0.5133 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.3983, allocations: 3.183 MB / 0.5164 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.3994, allocations: 487.5 kB / 0.5168 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.3997, allocations: 115.7 kB / 0.5169 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005015/0.4047, allocations: 1.932 MB / 0.5188 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.4047, allocations: 37.39 kB / 0.5189 GB, free: 5.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.4047, allocations: 0 / 0.5189 GB, free: 5.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001105/0.4058, allocations: 463.1 kB / 0.5193 GB, free: 5.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.4059, allocations: 59.34 kB / 0.5194 GB, free: 5.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.4075, allocations: 1.112 MB / 0.5204 GB, free: 4.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4076, allocations: 29.7 kB / 0.5205 GB, free: 4.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.4081, allocations: 0.5487 MB / 0.521 GB, free: 3.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.4082, allocations: 115.2 kB / 0.5211 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.4087, allocations: 340.1 kB / 0.5214 GB, free: 3.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004145/0.4091, allocations: 0.5743 MB / 0.522 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.4095, allocations: 162.5 kB / 0.5222 GB, free: 2.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4109, allocations: 1.163 MB / 0.5233 GB, free: 0.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.4129, allocations: 1.438 MB / 0.5247 GB, free: 14.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.4129, allocations: 8.875 kB / 0.5247 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001938/0.4148, allocations: 1.052 MB / 0.5257 GB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.4148, allocations: 16 kB / 0.5258 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/0.4149, allocations: 27.98 kB / 0.5258 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.975e-05/0.4149, allocations: 32 kB / 0.5258 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.4158, allocations: 295.5 kB / 0.5261 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-05/0.4158, allocations: 47.8 kB / 0.5261 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.4164, allocations: 139 kB / 0.5263 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.4166, allocations: 134 kB / 0.5264 GB, free: 13.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.0004226/0.417, allocations: 284.1 kB / 0.5267 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.4172, allocations: 91.44 kB / 0.5268 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.4192, allocations: 0.7674 MB / 0.5275 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4192, allocations: 4 kB / 0.5275 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4192, allocations: 3.938 kB / 0.5275 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4192, allocations: 0 / 0.5275 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.4201, allocations: 0.5861 MB / 0.5281 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4201, allocations: 0 / 0.5281 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.4204, allocations: 103.9 kB / 0.5282 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4204, allocations: 4 kB / 0.5282 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.4205, allocations: 35.98 kB / 0.5282 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4205, allocations: 0 / 0.5282 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4205, allocations: 0 / 0.5282 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.4213, allocations: 0.5305 MB / 0.5287 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/0.4219, allocations: 249.2 kB / 0.529 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.422, allocations: 6.625 kB / 0.529 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.4222, allocations: 8 kB / 0.529 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4224, allocations: 47.89 kB / 0.529 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.4225, allocations: 83.98 kB / 0.5291 GB, free: 10.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007558/0.4232, allocations: 0.5536 MB / 0.5297 GB, free: 9.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 0 / 0.5297 GB, free: 9.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001018/0.4242, allocations: 183.8 kB / 0.5298 GB, free: 9.484 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.0004665/0.4247, allocations: 223.2 kB / 0.53 GB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4258, allocations: 0.6003 MB / 0.5306 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4258, allocations: 1.875 kB / 0.5306 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.4261, allocations: 148.2 kB / 0.5308 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.4267, allocations: 133.6 kB / 0.5309 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4288, allocations: 1.167 MB / 0.532 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.4293, allocations: 347.7 kB / 0.5324 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00148/0.4308, allocations: 0.4993 MB / 0.5329 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.4312, allocations: 144.3 kB / 0.533 GB, free: 6.203 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4312, allocations: 0 / 0.533 GB, free: 6.203 MB / 410.7 MB Notification: Performance of Templates: time 0.01826/0.4494, allocations: 8.604 MB / 0.5414 GB, free: 13.74 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: 5.548853468964808]