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.00154/0.00154, allocations: 93.06 kB / 19.65 MB, free: 272 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.001873/0.001873, allocations: 173 kB / 23.02 MB, free: 1.543 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.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.128/0.128, allocations: 17.38 MB / 277.3 MB, free: 11.62 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.305e-06/2.305e-06, allocations: 0 / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.35e-05, allocations: 2.312 kB / 353.4 MB, free: 9.969 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.02964/0.02967, allocations: 26.73 MB / 380.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3376/0.3672, allocations: 134.8 MB / 0.5029 GB, free: 7.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.3676, allocations: 4 kB / 0.5029 GB, free: 7.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.3697, allocations: 0.6697 MB / 0.5035 GB, free: 6.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.3718, allocations: 2.103 MB / 0.5056 GB, free: 4.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.373, allocations: 0.5203 MB / 0.5061 GB, free: 4.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.3756, allocations: 2.093 MB / 0.5081 GB, free: 2.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.3757, allocations: 21.97 kB / 0.5082 GB, free: 2.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004472/0.3762, allocations: 463 kB / 0.5086 GB, free: 1.695 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.3767, allocations: 459.2 kB / 0.509 GB, free: 1.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.3767, allocations: 16 kB / 0.509 GB, free: 1.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.3778, allocations: 0.6822 MB / 0.5097 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3779, allocations: 163.3 kB / 0.5099 GB, free: 396 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.378, allocations: 163.4 kB / 0.51 GB, free: 232 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.3795, allocations: 1.511 MB / 0.5115 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3795, allocations: 4 kB / 0.5115 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3795, allocations: 0 / 0.5115 GB, free: 14.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3795, allocations: 4 kB / 0.5115 GB, free: 14.7 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.001185/0.3807, allocations: 1.171 MB / 0.5127 GB, free: 13.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3808, allocations: 8.031 kB / 0.5127 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.3814, allocations: 0.5711 MB / 0.5132 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.3818, allocations: 364.1 kB / 0.5136 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3818, allocations: 37.36 kB / 0.5136 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3819, allocations: 44.38 kB / 0.5136 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3831, allocations: 1.121 MB / 0.5147 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3831, allocations: 4.125 kB / 0.5147 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.3832, allocations: 20.55 kB / 0.5148 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/0.3832, allocations: 93.2 kB / 0.5149 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3844, allocations: 1.457 MB / 0.5163 GB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.387, allocations: 2.874 MB / 0.5191 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.3877, allocations: 0.6064 MB / 0.5197 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3878, allocations: 103.6 kB / 0.5198 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/0.3902, allocations: 1.906 MB / 0.5216 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3902, allocations: 37.39 kB / 0.5217 GB, free: 4.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.3902, allocations: 4 kB / 0.5217 GB, free: 4.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005504/0.3908, allocations: 415.1 kB / 0.5221 GB, free: 3.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3908, allocations: 59.34 kB / 0.5221 GB, free: 3.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.3916, allocations: 1.022 MB / 0.5231 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3917, allocations: 29.7 kB / 0.5232 GB, free: 2.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.3919, allocations: 0.5331 MB / 0.5237 GB, free: 1.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.392, allocations: 107.2 kB / 0.5238 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.3923, allocations: 336 kB / 0.5241 GB, free: 1.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3924, allocations: 0.5509 MB / 0.5246 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3928, allocations: 134.5 kB / 0.5248 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.3935, allocations: 1.12 MB / 0.5259 GB, free: 15.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.3945, allocations: 1.364 MB / 0.5272 GB, free: 13.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3945, allocations: 8 kB / 0.5272 GB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00117/0.3957, allocations: 0.9939 MB / 0.5282 GB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.3957, allocations: 22.75 kB / 0.5282 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.3958, allocations: 20 kB / 0.5282 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/0.3958, allocations: 35.94 kB / 0.5282 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.3965, allocations: 303.5 kB / 0.5285 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.071e-05/0.3966, allocations: 47.8 kB / 0.5286 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.397, allocations: 139 kB / 0.5287 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.3971, allocations: 129.7 kB / 0.5288 GB, free: 11.75 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.0003215/0.3974, allocations: 252.1 kB / 0.5291 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.3976, allocations: 92.31 kB / 0.5292 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.3992, allocations: 0.7339 MB / 0.5299 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3992, allocations: 0 / 0.5299 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3992, allocations: 3.938 kB / 0.5299 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3992, allocations: 3.984 kB / 0.5299 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.4, allocations: 0.5393 MB / 0.5304 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4, allocations: 0 / 0.5304 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.4002, allocations: 111.9 kB / 0.5305 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4002, allocations: 6.625 kB / 0.5305 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.4003, allocations: 35.98 kB / 0.5306 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.4003, allocations: 0 / 0.5306 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4003, allocations: 0 / 0.5306 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.4008, allocations: 0.4954 MB / 0.531 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.4012, allocations: 249.1 kB / 0.5313 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.4013, allocations: 8 kB / 0.5313 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.4015, allocations: 8 kB / 0.5313 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.4016, allocations: 47.89 kB / 0.5313 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.4018, allocations: 83.98 kB / 0.5314 GB, free: 9.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006136/0.4024, allocations: 0.5067 MB / 0.5319 GB, free: 8.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4024, allocations: 0 / 0.5319 GB, free: 8.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001145/0.4035, allocations: 183.8 kB / 0.5321 GB, free: 8.348 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.0004791/0.404, allocations: 227.2 kB / 0.5323 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.405, allocations: 0.5379 MB / 0.5328 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.405, allocations: 0 / 0.5328 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4052, allocations: 134 kB / 0.533 GB, free: 7.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.4059, allocations: 130.9 kB / 0.5331 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.4083, allocations: 1.14 MB / 0.5342 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.4085, allocations: 166.2 kB / 0.5344 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001463/0.41, allocations: 0.4906 MB / 0.5348 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.4104, allocations: 144.3 kB / 0.535 GB, free: 5.355 MB / 410.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4104, allocations: 0 / 0.535 GB, free: 5.355 MB / 410.7 MB Notification: Performance of Templates: time 0.01853/0.4289, allocations: 10.44 MB / 0.5452 GB, free: 11.16 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: 4.0955004980787635]