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.001621/0.001621, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001843/0.001843, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.345/1.345, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 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.1249/0.1249, allocations: 17.37 MB / 277.2 MB, free: 15.27 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.002046/0.002046, allocations: 71.88 kB / 412.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2673, allocations: 59.83 MB / 472.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003951/0.2713, allocations: 3.22 MB / 475.5 MB, free: 100 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.2771, allocations: 4.241 MB / 479.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.2774, allocations: 8.125 kB / 479.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.2777, allocations: 100 kB / 479.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009826/0.2787, allocations: 448.9 kB / 480.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2798, allocations: 0.5375 MB / 480.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007021/0.2805, allocations: 0.5802 MB / 481.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.2809, allocations: 293.2 kB / 481.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2812, allocations: 290.8 kB / 482 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.2816, allocations: 274.7 kB / 482.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.2817, allocations: 52.31 kB / 482.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008463/0.2825, allocations: 457.6 kB / 482.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.2827, allocations: 114.7 kB / 482.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.2829, allocations: 243.6 kB / 483.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2843, allocations: 1.076 MB / 484.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2843, allocations: 0 / 484.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2843, allocations: 0 / 484.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.2843, allocations: 0 / 484.2 MB, free: 10.05 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.001374/0.2857, allocations: 0.7996 MB / 485 MB, free: 9.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2857, allocations: 9.125 kB / 485 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.2861, allocations: 93.48 kB / 485.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.2867, allocations: 310.5 kB / 485.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.2867, allocations: 36.16 kB / 485.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2868, allocations: 51.39 kB / 485.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.2875, allocations: 460.8 kB / 485.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2875, allocations: 1.062 kB / 485.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.2875, allocations: 19.34 kB / 485.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2876, allocations: 11.31 kB / 485.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.2884, allocations: 0.5048 MB / 486.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.2905, allocations: 1.143 MB / 487.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.2912, allocations: 338.6 kB / 487.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2914, allocations: 104.8 kB / 488 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.2933, allocations: 0.8703 MB / 488.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2933, allocations: 42.44 kB / 488.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.2933, allocations: 4 kB / 488.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01364/0.307, allocations: 2.114 MB / 491 MB, free: 3.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.307, allocations: 55.41 kB / 491.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.3073, allocations: 276.1 kB / 491.4 MB, free: 3.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.3073, allocations: 29.7 kB / 491.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3075, allocations: 288 kB / 491.7 MB, free: 3.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3076, allocations: 111 kB / 491.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3078, allocations: 86.19 kB / 491.9 MB, free: 2.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.308, allocations: 350.7 kB / 492.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3082, allocations: 129 kB / 492.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.3085, allocations: 264.6 kB / 492.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.3091, allocations: 416.9 kB / 493 MB, free: 1.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3091, allocations: 4 kB / 493 MB, free: 1.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003886/0.313, allocations: 0.8201 MB / 493.8 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3131, allocations: 8 kB / 493.8 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3131, allocations: 7.938 kB / 493.8 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/0.3165, allocations: 409.3 kB / 494.2 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.3167, allocations: 79.84 kB / 494.3 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/0.3232, allocations: 3.695 MB / 498 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.3236, allocations: 16 kB / 498 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.3236, allocations: 24 kB / 498.1 MB, free: 12.33 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.000274/0.3239, allocations: 165.8 kB / 498.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.324, allocations: 27.81 kB / 498.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.3287, allocations: 0.8343 MB / 499.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3287, allocations: 7.938 kB / 499.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3287, allocations: 0 / 499.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.3287, allocations: 7.938 kB / 499.1 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/0.3295, allocations: 497.9 kB / 499.6 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3295, allocations: 7.984 kB / 499.6 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.3297, allocations: 51.92 kB / 499.6 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004352/0.334, allocations: 486.4 kB / 0.4884 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.3341, allocations: 19.98 kB / 0.4884 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/0.3414, allocations: 4.877 MB / 0.4932 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3414, allocations: 3.938 kB / 0.4932 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/0.3465, allocations: 1.108 MB / 0.4943 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3467, allocations: 35.78 kB / 0.4943 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.3467, allocations: 8 kB / 0.4943 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.347, allocations: 16 kB / 0.4943 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3471, allocations: 47.8 kB / 0.4944 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.3472, allocations: 19.98 kB / 0.4944 GB, free: 3.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.3474, allocations: 183.1 kB / 0.4946 GB, free: 3.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3474, allocations: 0 / 0.4946 GB, free: 3.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009563/0.3483, allocations: 243.5 kB / 0.4948 GB, free: 3.258 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.0006327/0.349, allocations: 286.8 kB / 0.4951 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.3504, allocations: 0.6667 MB / 0.4957 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3504, allocations: 0 / 0.4957 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009743/0.3513, allocations: 0.6017 MB / 0.4963 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.352, allocations: 110.3 kB / 0.4964 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3539, allocations: 1.043 MB / 0.4974 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3541, allocations: 224.3 kB / 0.4976 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.3544, allocations: 71.14 kB / 0.4977 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3545, allocations: 60.47 kB / 0.4978 GB, free: 72 kB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3545, allocations: 4 kB / 0.4978 GB, free: 68 kB / 398.1 MB Notification: Performance of Templates: time 0.02048/0.375, allocations: 11.7 MB / 0.5092 GB, free: 4.465 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.809575776103884] Failed to read output from testmodel.py, exit status != 0: 0.38394517090637237 0.39856972300000004 0.111235633 Calling exit ...