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.001954/0.001954, allocations: 85.48 kB / 19.44 MB, free: 336 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.002104/0.002104, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.1763/0.1763, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.783e-06/1.783e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.75e-05, allocations: 4.844 kB / 352.7 MB, free: 10.34 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.04455/0.04458, allocations: 26.87 MB / 379.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.0599, allocations: 8.025 MB / 387.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.06103, allocations: 19.94 kB / 387.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.06378, allocations: 0.7302 MB / 388.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.06582, allocations: 0.5661 MB / 388.9 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.06813, allocations: 0.7537 MB / 389.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.07051, allocations: 1.16 MB / 390.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.0709, allocations: 161.1 kB / 391 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000938/0.07183, allocations: 0.5495 MB / 391.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005631/0.0724, allocations: 323 kB / 391.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.07253, allocations: 80 kB / 391.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.07551, allocations: 0.9631 MB / 392.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.07584, allocations: 275 kB / 393.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.07631, allocations: 331 kB / 393.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.08074, allocations: 2.353 MB / 395.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.08075, allocations: 0 / 395.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.1e-06/0.08075, allocations: 3.984 kB / 395.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.08078, allocations: 0 / 395.8 MB, free: 15.26 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.002925/0.0837, allocations: 1.624 MB / 397.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.08375, allocations: 8.031 kB / 397.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.08498, allocations: 475.8 kB / 397.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.08593, allocations: 0.5309 MB / 398.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.08614, allocations: 173.9 kB / 398.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.08628, allocations: 88.36 kB / 398.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.08843, allocations: 1.27 MB / 400 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.08846, allocations: 8.125 kB / 400 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.08854, allocations: 40.11 kB / 400 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.08874, allocations: 146 kB / 400.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.09266, allocations: 2.887 MB / 403 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.1049, allocations: 6.203 MB / 409.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.1065, allocations: 0.5615 MB / 409.8 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.1073, allocations: 355.6 kB / 410.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.1091, allocations: 0.6454 MB / 410.8 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1739/0.2831, allocations: 37.89 kB / 410.8 MB, free: 62.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.737e-06/0.2831, allocations: 0 / 410.8 MB, free: 62.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.04729/0.3304, allocations: 8.014 MB / 418.9 MB, free: 61.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0584/0.3888, allocations: 13.52 MB / 432.4 MB, free: 50.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.3896, allocations: 0.7685 MB / 433.1 MB, free: 50.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.3899, allocations: 37.7 kB / 433.2 MB, free: 50.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.3902, allocations: 0.6278 MB / 433.8 MB, free: 49.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.3905, allocations: 265.2 kB / 434.1 MB, free: 49.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006045/0.3911, allocations: 273.2 kB / 434.3 MB, free: 49.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3913, allocations: 0.6289 MB / 435 MB, free: 48.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3926, allocations: 0.7478 MB / 435.7 MB, free: 47.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.394, allocations: 0.9488 MB / 436.7 MB, free: 46.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3965, allocations: 1.619 MB / 438.3 MB, free: 45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3965, allocations: 2.656 kB / 438.3 MB, free: 45 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01173/0.4083, allocations: 2.809 MB / 441.1 MB, free: 42.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4083, allocations: 7.938 kB / 441.1 MB, free: 42.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4083, allocations: 4 kB / 441.1 MB, free: 42.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01382/0.4221, allocations: 3.227 MB / 444.3 MB, free: 39.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.4243, allocations: 311.6 kB / 444.6 MB, free: 38.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.4377, allocations: 7.262 MB / 451.9 MB, free: 31.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.4395, allocations: 89.42 kB / 452 MB, free: 31.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/0.4399, allocations: 171.9 kB / 452.1 MB, free: 31.02 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.0008748/0.4408, allocations: 267.1 kB / 452.4 MB, free: 30.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/0.4413, allocations: 99.47 kB / 452.5 MB, free: 30.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.4524, allocations: 2.826 MB / 455.3 MB, free: 27.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00932/0.4617, allocations: 2.126 MB / 457.5 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4617, allocations: 2.656 kB / 457.5 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4617, allocations: 3.984 kB / 457.5 MB, free: 25.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.4751, allocations: 5.062 MB / 462.5 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4751, allocations: 4 kB / 462.5 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.4766, allocations: 170.4 kB / 462.7 MB, free: 20.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02742/0.504, allocations: 3.326 MB / 466 MB, free: 17.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002768/0.5042, allocations: 43.95 kB / 466.1 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.5142, allocations: 5.023 MB / 471.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05085/0.5651, allocations: 11.62 MB / 482.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.5782, allocations: 3.218 MB / 485.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.5785, allocations: 90.12 kB / 486 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.5788, allocations: 19.98 kB / 486 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.5802, allocations: 55.86 kB / 486.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/0.5806, allocations: 96.34 kB / 486.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/0.5808, allocations: 75.95 kB / 486.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008805/0.5816, allocations: 0.5732 MB / 486.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5816, allocations: 0 / 486.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002182/0.5838, allocations: 0.5783 MB / 487.4 MB, free: 11.22 MB / 346.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.0007596/0.5846, allocations: 372.2 kB / 487.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.5898, allocations: 1.86 MB / 489.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5898, allocations: 0 / 489.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.5931, allocations: 1.051 MB / 490.7 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.5944, allocations: 247.8 kB / 490.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/0.6004, allocations: 2.753 MB / 493.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.6012, allocations: 0.5257 MB / 494.2 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001179/0.6023, allocations: 215.1 kB / 494.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/0.603, allocations: 103 kB / 494.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.744e-06/0.603, allocations: 0 / 494.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of Templates: time 0.08564/0.6887, allocations: 51.92 MB / 0.5336 GB, free: 0.8594 MB / 394.7 MB " [Timeout remaining time 659] 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: 7.187712901039049]