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.0008759/0.0008759, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009041/0.0009041, allocations: 173 kB / 23.49 MB, free: 1.055 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.9933/0.9933, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.08685/0.08685, allocations: 17.38 MB / 277.7 MB, free: 11.72 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 1.944e-06/1.944e-06, allocations: 0 / 353.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.148e-05, allocations: 6.25 kB / 353.4 MB, free: 10.33 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.02809/0.02811, allocations: 29.13 MB / 382.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.03844, allocations: 8.021 MB / 390.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.03962, allocations: 23.88 kB / 390.6 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.04218, allocations: 0.738 MB / 391.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.04382, allocations: 0.5622 MB / 391.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.04582, allocations: 0.7459 MB / 392.6 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.04698, allocations: 1.168 MB / 393.8 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.04724, allocations: 161.1 kB / 394 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.04766, allocations: 0.5456 MB / 394.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.04799, allocations: 327 kB / 394.8 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.04807, allocations: 84 kB / 394.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.04967, allocations: 0.9591 MB / 395.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.04985, allocations: 271 kB / 396.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.05009, allocations: 339 kB / 396.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.05188, allocations: 1.974 MB / 398.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.05188, allocations: 3.938 kB / 398.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.05189, allocations: 0 / 398.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.0519, allocations: 0 / 398.5 MB, free: 13.37 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.001591/0.05349, allocations: 1.55 MB / 400 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.05353, allocations: 15.97 kB / 400 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.0542, allocations: 475.8 kB / 400.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.05475, allocations: 0.523 MB / 401 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.05489, allocations: 173.9 kB / 401.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.05498, allocations: 88.36 kB / 401.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.05623, allocations: 1.196 MB / 402.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.05625, allocations: 4.188 kB / 402.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.0563, allocations: 36.11 kB / 402.5 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.05642, allocations: 150 kB / 402.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.05834, allocations: 1.762 MB / 404.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/0.06383, allocations: 4.995 MB / 409.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.06466, allocations: 343.2 kB / 409.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.06509, allocations: 179.6 kB / 409.9 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008537/0.06594, allocations: 0.6298 MB / 410.5 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.06597, allocations: 45.38 kB / 410.6 MB, free: 1.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.225e-06/0.06597, allocations: 3.938 kB / 410.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.173/0.239, allocations: 6.42 MB / 417 MB, free: 51.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02894/0.2679, allocations: 10.95 MB / 428 MB, free: 47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.2684, allocations: 0.6363 MB / 428.6 MB, free: 46.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.2686, allocations: 37.55 kB / 428.6 MB, free: 46.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.2688, allocations: 0.6054 MB / 429.2 MB, free: 46.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.269, allocations: 249.4 kB / 429.5 MB, free: 45.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/0.2694, allocations: 249.8 kB / 429.7 MB, free: 45.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2696, allocations: 0.577 MB / 430.3 MB, free: 45.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.2704, allocations: 447.1 kB / 430.7 MB, free: 45.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.2712, allocations: 0.6097 MB / 431.3 MB, free: 44.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.2727, allocations: 1.072 MB / 432.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2727, allocations: 0 / 432.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005738/0.2784, allocations: 2.024 MB / 434.4 MB, free: 42.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2785, allocations: 4 kB / 434.4 MB, free: 42.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2785, allocations: 10.59 kB / 434.5 MB, free: 42.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00674/0.2852, allocations: 2.97 MB / 437.4 MB, free: 39.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/0.2862, allocations: 312.9 kB / 437.7 MB, free: 39.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/0.293, allocations: 5.517 MB / 443.2 MB, free: 33.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.2937, allocations: 89.62 kB / 443.3 MB, free: 33.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.2938, allocations: 175.9 kB / 443.5 MB, free: 33.72 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.000372/0.2942, allocations: 196 kB / 443.7 MB, free: 33.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.2945, allocations: 99.47 kB / 443.8 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/0.2998, allocations: 2.219 MB / 446 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004554/0.3044, allocations: 1.537 MB / 447.5 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3044, allocations: 0 / 447.5 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3044, allocations: 3.984 kB / 447.6 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/0.3111, allocations: 4.22 MB / 451.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3111, allocations: 2.297 kB / 451.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.3118, allocations: 173.6 kB / 451.9 MB, free: 25.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01347/0.3253, allocations: 3.13 MB / 455.1 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.555e-05/0.3254, allocations: 46.64 kB / 455.1 MB, free: 22.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005052/0.3304, allocations: 3.824 MB / 458.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02458/0.355, allocations: 9.778 MB / 468.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.3605, allocations: 2.227 MB / 470.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3606, allocations: 82.17 kB / 471 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.3607, allocations: 20 kB / 471 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.3613, allocations: 62.52 kB / 471.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.3616, allocations: 88.19 kB / 471.2 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.3617, allocations: 79.95 kB / 471.3 MB, free: 5.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003562/0.362, allocations: 499 kB / 471.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.362, allocations: 0 / 471.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001345/0.3634, allocations: 0.5769 MB / 472.3 MB, free: 4.52 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.0005261/0.3639, allocations: 377.3 kB / 472.7 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.3661, allocations: 1.304 MB / 474 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3661, allocations: 2.656 kB / 474 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.3674, allocations: 0.8194 MB / 474.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.3681, allocations: 248.8 kB / 475.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.3712, allocations: 2.522 MB / 477.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.3714, allocations: 247.7 kB / 477.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006255/0.372, allocations: 216.2 kB / 478.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.3725, allocations: 108.2 kB / 478.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3725, allocations: 2.656 kB / 478.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Templates: time 0.04792/0.4204, allocations: 52.5 MB / 0.5182 GB, free: 11.12 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.480315822176635]