Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HeatingOfWater.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.00171/0.00171, allocations: 104.9 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001813/0.001813, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 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.1429/0.1429, allocations: 23.85 MB / 332.7 MB, free: 12.36 MB / 270.1 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.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 62.25 kB / 466.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 59.82 MB / 0.5139 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004463/0.3497, allocations: 3.483 MB / 0.5173 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005208/0.3549, allocations: 4.781 MB / 0.522 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.3554, allocations: 9.469 kB / 0.522 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.3559, allocations: 113.1 kB / 0.5221 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.3571, allocations: 453.5 kB / 0.5226 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3585, allocations: 0.53 MB / 0.5231 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007755/0.3593, allocations: 0.5828 MB / 0.5236 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.3596, allocations: 313.2 kB / 0.5239 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.36, allocations: 294.5 kB / 0.5242 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.3604, allocations: 305.9 kB / 0.5245 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.3606, allocations: 51.84 kB / 0.5246 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.3624, allocations: 483.2 kB / 0.525 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3626, allocations: 123.2 kB / 0.5251 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.3629, allocations: 278 kB / 0.5254 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.366, allocations: 1.081 MB / 0.5265 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.366, allocations: 0 / 0.5265 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.366, allocations: 0 / 0.5265 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.366, allocations: 1.312 kB / 0.5265 GB, free: 1.176 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001489/0.3675, allocations: 0.8772 MB / 0.5273 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3675, allocations: 9.5 kB / 0.5273 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.3679, allocations: 94.22 kB / 0.5274 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.3685, allocations: 373 kB / 0.5278 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.3685, allocations: 36.34 kB / 0.5278 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.3686, allocations: 47.95 kB / 0.5279 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.3695, allocations: 452.9 kB / 0.5283 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3695, allocations: 1.188 kB / 0.5283 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.3696, allocations: 19.88 kB / 0.5283 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3696, allocations: 17.47 kB / 0.5283 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.3705, allocations: 0.5088 MB / 0.5288 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.3736, allocations: 1.534 MB / 0.5303 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.3744, allocations: 343.9 kB / 0.5306 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.3746, allocations: 105.9 kB / 0.5308 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002797/0.3774, allocations: 1.561 MB / 0.5323 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3774, allocations: 40.72 kB / 0.5323 GB, free: 13.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.3774, allocations: 0 / 0.5323 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01531/0.3928, allocations: 2.336 MB / 0.5346 GB, free: 12.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3928, allocations: 58.56 kB / 0.5347 GB, free: 12.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.3933, allocations: 296.7 kB / 0.5349 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.3934, allocations: 35.11 kB / 0.535 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.3936, allocations: 275.4 kB / 0.5352 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3938, allocations: 118.4 kB / 0.5353 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.394, allocations: 83.75 kB / 0.5354 GB, free: 11.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.3942, allocations: 345.2 kB / 0.5358 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.3945, allocations: 137.6 kB / 0.5359 GB, free: 11.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.395, allocations: 260.6 kB / 0.5361 GB, free: 11.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.3958, allocations: 437.3 kB / 0.5365 GB, free: 10.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3958, allocations: 5.344 kB / 0.5366 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004317/0.4001, allocations: 0.809 MB / 0.5373 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4001, allocations: 10.62 kB / 0.5374 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4001, allocations: 3.969 kB / 0.5374 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.4037, allocations: 420.5 kB / 0.5378 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.404, allocations: 75.23 kB / 0.5378 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007121/0.4111, allocations: 3.974 MB / 0.5417 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4116, allocations: 21.53 kB / 0.5417 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.4117, allocations: 22.45 kB / 0.5418 GB, free: 7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.4119, allocations: 167.5 kB / 0.5419 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4121, allocations: 41.02 kB / 0.542 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.4172, allocations: 0.8266 MB / 0.5428 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4172, allocations: 3.125 kB / 0.5428 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4172, allocations: 3.844 kB / 0.5428 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4172, allocations: 5.219 kB / 0.5428 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.4183, allocations: 0.6284 MB / 0.5434 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4183, allocations: 2.75 kB / 0.5434 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.4186, allocations: 58.52 kB / 0.5434 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/0.4233, allocations: 488.9 kB / 0.5439 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.4234, allocations: 16.98 kB / 0.5439 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00825/0.4316, allocations: 5.303 MB / 0.5491 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4316, allocations: 6.781 kB / 0.5491 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.4372, allocations: 1.118 MB / 0.5502 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.4375, allocations: 111.5 kB / 0.5503 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.4375, allocations: 13.34 kB / 0.5503 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.4378, allocations: 12.19 kB / 0.5503 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.438, allocations: 46.62 kB / 0.5504 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.438, allocations: 16.28 kB / 0.5504 GB, free: 72 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.4384, allocations: 207 kB / 0.5506 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4384, allocations: 0 / 0.5506 GB, free: 15.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001162/0.4395, allocations: 236.2 kB / 0.5508 GB, free: 15.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007285/0.4402, allocations: 302.8 kB / 0.5511 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.442, allocations: 0.6679 MB / 0.5518 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.442, allocations: 1.188 kB / 0.5518 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.4432, allocations: 0.6035 MB / 0.5523 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/0.444, allocations: 108.3 kB / 0.5525 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.4464, allocations: 1.037 MB / 0.5535 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.447, allocations: 0.8252 MB / 0.5543 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.4473, allocations: 69.73 kB / 0.5543 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4475, allocations: 63.02 kB / 0.5544 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4475, allocations: 0 / 0.5544 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Templates: time 0.02237/0.4698, allocations: 11.53 MB / 0.5657 GB, free: 4.551 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.651388239115477] Failed to read output from testmodel.py, exit status != 0: 0.47839194163680077 0.491450196 0.12241966600000001 Calling exit ...