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.001838/0.001838, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002353/0.002353, allocations: 216.6 kB / 22.24 MB, free: 5.258 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.805 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.1593/0.1593, allocations: 23.9 MB / 336.3 MB, free: 10.96 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.002069/0.002069, allocations: 63.89 kB / 471.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 59.86 MB / 0.519 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004942/0.3873, allocations: 3.208 MB / 0.5221 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005624/0.393, allocations: 4.25 MB / 0.5263 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.3934, allocations: 8.438 kB / 0.5263 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.3939, allocations: 102.1 kB / 0.5264 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.3951, allocations: 447.7 kB / 0.5268 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3965, allocations: 0.5352 MB / 0.5273 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.3972, allocations: 0.5852 MB / 0.5279 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.3976, allocations: 306.9 kB / 0.5282 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.398, allocations: 289.4 kB / 0.5285 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.3984, allocations: 308.8 kB / 0.5288 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.3985, allocations: 52.81 kB / 0.5288 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3996, allocations: 466.5 kB / 0.5293 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3998, allocations: 118.5 kB / 0.5294 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.4, allocations: 242 kB / 0.5296 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.4018, allocations: 1.077 MB / 0.5307 GB, free: 2.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4019, allocations: 1.344 kB / 0.5307 GB, free: 2.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4019, allocations: 0.7031 kB / 0.5307 GB, free: 2.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4019, allocations: 3.938 kB / 0.5307 GB, free: 2.609 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.001423/0.4033, allocations: 0.7984 MB / 0.5315 GB, free: 2.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4033, allocations: 9.312 kB / 0.5315 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.4037, allocations: 98.02 kB / 0.5316 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.4043, allocations: 309.9 kB / 0.5319 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.4044, allocations: 32.66 kB / 0.5319 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.4045, allocations: 47.8 kB / 0.5319 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.4053, allocations: 461.9 kB / 0.5324 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4053, allocations: 0 / 0.5324 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.4054, allocations: 16.81 kB / 0.5324 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4054, allocations: 11.38 kB / 0.5324 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008493/0.4062, allocations: 0.5034 MB / 0.5329 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.4083, allocations: 1.139 MB / 0.534 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.4091, allocations: 343.5 kB / 0.5343 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.4092, allocations: 107.2 kB / 0.5344 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.4111, allocations: 0.8668 MB / 0.5353 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.4111, allocations: 36.09 kB / 0.5353 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.4111, allocations: 1.281 kB / 0.5353 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01298/0.4241, allocations: 2.113 MB / 0.5374 GB, free: 15.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.4241, allocations: 58.44 kB / 0.5374 GB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.4245, allocations: 276.9 kB / 0.5377 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.4246, allocations: 31.33 kB / 0.5377 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.4248, allocations: 284.5 kB / 0.538 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.425, allocations: 118 kB / 0.5381 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.4251, allocations: 80.69 kB / 0.5382 GB, free: 14.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4253, allocations: 343.6 kB / 0.5385 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.4256, allocations: 137 kB / 0.5386 GB, free: 14.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.426, allocations: 264 kB / 0.5389 GB, free: 14.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.4267, allocations: 420.8 kB / 0.5393 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4267, allocations: 1.344 kB / 0.5393 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003925/0.4306, allocations: 0.816 MB / 0.5401 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.4307, allocations: 10.31 kB / 0.5401 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4307, allocations: 9.125 kB / 0.5401 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/0.434, allocations: 407.3 kB / 0.5405 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.4343, allocations: 82.91 kB / 0.5406 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.4413, allocations: 3.702 MB / 0.5442 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.4418, allocations: 16.25 kB / 0.5442 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.4419, allocations: 23.06 kB / 0.5442 GB, free: 10.36 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.0003555/0.4423, allocations: 167.1 kB / 0.5444 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4424, allocations: 31.7 kB / 0.5444 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/0.447, allocations: 0.8293 MB / 0.5452 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.447, allocations: 3.281 kB / 0.5452 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.447, allocations: 1.125 kB / 0.5452 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.447, allocations: 7.234 kB / 0.5452 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/0.448, allocations: 0.4937 MB / 0.5457 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.448, allocations: 2.438 kB / 0.5457 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4482, allocations: 49.3 kB / 0.5458 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/0.4524, allocations: 490.1 kB / 0.5462 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.4524, allocations: 19.36 kB / 0.5463 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/0.4611, allocations: 4.876 MB / 0.551 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4611, allocations: 11.45 kB / 0.551 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/0.4662, allocations: 1.105 MB / 0.5521 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.4665, allocations: 35.12 kB / 0.5521 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.4666, allocations: 11.53 kB / 0.5522 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4668, allocations: 9.406 kB / 0.5522 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.467, allocations: 48.27 kB / 0.5522 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.4671, allocations: 20.14 kB / 0.5522 GB, free: 4.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.4674, allocations: 186.2 kB / 0.5524 GB, free: 3.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4674, allocations: 0 / 0.5524 GB, free: 3.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0015/0.4689, allocations: 239 kB / 0.5526 GB, free: 3.895 MB / 398.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.0008178/0.4697, allocations: 289.9 kB / 0.5529 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.4715, allocations: 0.6652 MB / 0.5536 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4715, allocations: 1.25 kB / 0.5536 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4726, allocations: 0.6065 MB / 0.5542 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.4734, allocations: 114.9 kB / 0.5543 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.4756, allocations: 1.03 MB / 0.5553 GB, free: 2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.4759, allocations: 224 kB / 0.5555 GB, free: 1.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.4761, allocations: 73.09 kB / 0.5556 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.4763, allocations: 65.73 kB / 0.5556 GB, free: 1.797 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4763, allocations: 3.938 kB / 0.5556 GB, free: 1.793 MB / 398.1 MB Notification: Performance of Templates: time 0.02453/0.5008, allocations: 12.41 MB / 0.5677 GB, free: 6.844 MB / 414.1 MB " [Timeout remaining time 659] 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.874335510656238] Failed to read output from testmodel.py, exit status != 0: 0.510848087258637 0.5341757429999999 0.12690501899999995 Calling exit ...