Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.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.0009223/0.0009223, allocations: 93.06 kB / 19.65 MB, free: 276 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.001056/0.001056, allocations: 173 kB / 23.03 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 0.9881/0.9881, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.08966/0.08966, 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.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.316e-05, allocations: 2.312 kB / 353.4 MB, free: 9.996 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.03487/0.03491, allocations: 29.21 MB / 382.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009183/0.04409, allocations: 8.072 MB / 390.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.04505, allocations: 15.88 kB / 390.7 MB, free: 4.797 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.04697, allocations: 0.7341 MB / 391.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.04842, allocations: 0.57 MB / 392 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.05018, allocations: 0.7537 MB / 392.8 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.05158, allocations: 1.168 MB / 393.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.05184, allocations: 161.1 kB / 394.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.05247, allocations: 0.5495 MB / 394.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.05286, allocations: 323 kB / 395 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.05298, allocations: 84 kB / 395 MB, free: 440 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.05509, allocations: 0.9592 MB / 396 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.05533, allocations: 267 kB / 396.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.05564, allocations: 335 kB / 396.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.05846, allocations: 1.982 MB / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.05846, allocations: 4 kB / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.05847, allocations: 0 / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.05849, allocations: 0 / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002203/0.06069, allocations: 1.554 MB / 400.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.06074, allocations: 8.031 kB / 400.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.06141, allocations: 479.8 kB / 400.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.06204, allocations: 0.5231 MB / 401.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.06219, allocations: 173.9 kB / 401.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.06228, allocations: 88.3 kB / 401.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.06355, allocations: 1.204 MB / 402.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.06357, allocations: 192 / 402.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/0.06362, allocations: 40.11 kB / 402.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.06374, allocations: 146 kB / 402.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.06561, allocations: 1.758 MB / 404.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005518/0.07113, allocations: 4.995 MB / 409.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.0719, allocations: 343.2 kB / 409.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.07229, allocations: 183.6 kB / 410 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008608/0.07315, allocations: 0.6376 MB / 410.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.07318, allocations: 37.38 kB / 410.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.07318, allocations: 0 / 410.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.1666/0.2398, allocations: 6.431 MB / 417.1 MB, free: 51.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0279/0.2677, allocations: 10.93 MB / 428.1 MB, free: 46.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.2683, allocations: 0.6389 MB / 428.7 MB, free: 46.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000257/0.2686, allocations: 40.39 kB / 428.8 MB, free: 46.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.2688, allocations: 0.6158 MB / 429.4 MB, free: 45.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.269, allocations: 239.9 kB / 429.6 MB, free: 45.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.2694, allocations: 250.6 kB / 429.9 MB, free: 45.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2695, allocations: 0.5844 MB / 430.4 MB, free: 44.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.2703, allocations: 433.2 kB / 430.9 MB, free: 44.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.2712, allocations: 0.6199 MB / 431.5 MB, free: 44.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.2726, allocations: 1.065 MB / 432.5 MB, free: 44.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2726, allocations: 0 / 432.5 MB, free: 44.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005704/0.2783, allocations: 2.028 MB / 434.6 MB, free: 42.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2784, allocations: 4 kB / 434.6 MB, free: 42.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2784, allocations: 7.938 kB / 434.6 MB, free: 42.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006668/0.285, allocations: 2.963 MB / 437.5 MB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.2861, allocations: 316.6 kB / 437.9 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.2927, allocations: 5.52 MB / 443.4 MB, free: 33.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.2935, allocations: 88.53 kB / 443.5 MB, free: 33.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.2937, allocations: 178.5 kB / 443.6 MB, free: 33.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005093/0.2942, allocations: 199.6 kB / 443.8 MB, free: 33.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.2944, allocations: 99.47 kB / 443.9 MB, free: 33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/0.2996, allocations: 2.217 MB / 446.1 MB, free: 30.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004409/0.304, allocations: 1.536 MB / 447.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.304, allocations: 0 / 447.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.304, allocations: 7.078 kB / 447.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.3109, allocations: 4.216 MB / 451.9 MB, free: 24.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3109, allocations: 6.625 kB / 451.9 MB, free: 24.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.3116, allocations: 175.2 kB / 452.1 MB, free: 24.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01308/0.3247, allocations: 3.119 MB / 455.2 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.3248, allocations: 47.95 kB / 455.3 MB, free: 21.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/0.33, allocations: 3.825 MB / 459.1 MB, free: 17.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02421/0.3543, allocations: 9.782 MB / 468.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/0.3598, allocations: 2.235 MB / 471.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.3601, allocations: 79.52 kB / 471.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.3602, allocations: 19.98 kB / 471.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.3609, allocations: 59.86 kB / 471.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.3611, allocations: 83.03 kB / 471.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.3612, allocations: 83.94 kB / 471.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003986/0.3616, allocations: 499 kB / 471.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 5.609 kB / 471.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001551/0.3632, allocations: 0.573 MB / 472.5 MB, free: 4.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006127/0.3638, allocations: 374.3 kB / 472.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.3662, allocations: 1.305 MB / 474.1 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3662, allocations: 2.516 kB / 474.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.3675, allocations: 0.8258 MB / 475 MB, free: 1.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/0.3682, allocations: 245.3 kB / 475.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.372, allocations: 2.511 MB / 477.7 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3722, allocations: 257.5 kB / 478 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007458/0.3729, allocations: 210.6 kB / 478.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.3734, allocations: 104.4 kB / 478.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3734, allocations: 0 / 478.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Templates: time 0.05789/0.4313, allocations: 56.61 MB / 0.5224 GB, free: 6.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.703879048116505]