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.001396/0.001396, allocations: 88.22 kB / 19.4 MB, free: 0.5273 MB / 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.001466/0.001466, allocations: 168.9 kB / 22.71 MB, free: 1.871 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.007/1.007, allocations: 177.1 MB / 203 MB, free: 5.676 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.09063/0.09063, allocations: 17.38 MB / 276.9 MB, free: 11.75 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.903e-06/1.903e-06, allocations: 0 / 352.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.837e-05, allocations: 2.312 kB / 352.6 MB, free: 11.59 MB / 330.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.02859/0.02861, allocations: 29.14 MB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007799/0.03641, allocations: 8.029 MB / 389.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.03696, allocations: 19.94 kB / 389.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.03885, allocations: 0.7225 MB / 390.5 MB, free: 5.742 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.04032, allocations: 0.5661 MB / 391.1 MB, free: 5.172 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.04217, allocations: 0.7536 MB / 391.8 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.04339, allocations: 1.168 MB / 393 MB, free: 3.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.04365, allocations: 156.9 kB / 393.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.0442, allocations: 0.5456 MB / 393.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.04453, allocations: 327 kB / 394 MB, free: 2.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.83e-05/0.04461, allocations: 80 kB / 394.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.04626, allocations: 0.9669 MB / 395.1 MB, free: 1.164 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.04644, allocations: 278.9 kB / 395.3 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.0467, allocations: 327 kB / 395.6 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.04882, allocations: 1.986 MB / 397.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.04882, allocations: 0 / 397.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.04882, allocations: 0 / 397.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.04883, allocations: 0 / 397.6 MB, free: 14.58 MB / 378.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.001728/0.05056, allocations: 1.546 MB / 399.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.05061, allocations: 8.031 kB / 399.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007126/0.05132, allocations: 479.8 kB / 399.7 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.05194, allocations: 0.5269 MB / 400.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.05208, allocations: 166 kB / 400.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.05217, allocations: 92.34 kB / 400.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.05337, allocations: 1.196 MB / 401.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.05339, allocations: 192 / 401.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.05343, allocations: 40.11 kB / 401.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.05354, allocations: 146 kB / 401.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.05534, allocations: 1.762 MB / 403.6 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005565/0.0609, allocations: 5.01 MB / 408.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.06174, allocations: 339.3 kB / 408.9 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.06214, allocations: 183.6 kB / 409.1 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009234/0.06306, allocations: 0.6414 MB / 409.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.06309, allocations: 41.39 kB / 409.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.754e-06/0.0631, allocations: 0 / 409.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.02193/0.08502, allocations: 6.421 MB / 416.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02886/0.1139, allocations: 10.96 MB / 427.1 MB, free: 488 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.1145, allocations: 0.6439 MB / 427.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002293/0.1147, allocations: 37.7 kB / 427.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.115, allocations: 0.6201 MB / 428.4 MB, free: 15.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.1153, allocations: 237.9 kB / 428.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.1157, allocations: 252.1 kB / 428.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.1159, allocations: 0.5782 MB / 429.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008839/0.1168, allocations: 437.8 kB / 429.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/0.1178, allocations: 0.6108 MB / 430.5 MB, free: 12.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.1194, allocations: 1.07 MB / 431.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1194, allocations: 0 / 431.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006072/0.1255, allocations: 2.025 MB / 433.6 MB, free: 9.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1255, allocations: 8 kB / 433.6 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1255, allocations: 4.188 kB / 433.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007316/0.1328, allocations: 2.953 MB / 436.6 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.1339, allocations: 319.6 kB / 436.9 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/0.1417, allocations: 5.532 MB / 442.5 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.1425, allocations: 79.84 kB / 442.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.1427, allocations: 176.1 kB / 442.7 MB, free: 0.5 MB / 410.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.0004468/0.1431, allocations: 188.5 kB / 442.9 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.1434, allocations: 99.53 kB / 443 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1566/0.3, allocations: 2.214 MB / 445.2 MB, free: 119.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004508/0.3045, allocations: 1.541 MB / 446.7 MB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3045, allocations: 3.219 kB / 446.7 MB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3045, allocations: 3.562 kB / 446.7 MB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007071/0.3116, allocations: 4.21 MB / 451 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3116, allocations: 9.703 kB / 451 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.3123, allocations: 168 kB / 451.1 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01342/0.3258, allocations: 3.127 MB / 454.3 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.3258, allocations: 44.22 kB / 454.3 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.3308, allocations: 3.833 MB / 458.1 MB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02402/0.3548, allocations: 9.77 MB / 467.9 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.3603, allocations: 2.228 MB / 470.1 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3604, allocations: 88.53 kB / 470.2 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3605, allocations: 18.06 kB / 470.2 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.3611, allocations: 61.27 kB / 470.3 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.3613, allocations: 90.64 kB / 470.4 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.3614, allocations: 85.52 kB / 470.5 MB, free: 109.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003998/0.3618, allocations: 0.4884 MB / 471 MB, free: 109.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3618, allocations: 2.656 kB / 471 MB, free: 109.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001425/0.3632, allocations: 0.5774 MB / 471.5 MB, free: 109.1 MB / 410.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.0005216/0.3638, allocations: 362.4 kB / 471.9 MB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.366, allocations: 1.307 MB / 473.2 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.366, allocations: 0 / 473.2 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.3673, allocations: 0.8267 MB / 474 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.368, allocations: 245.1 kB / 474.3 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.3714, allocations: 2.52 MB / 476.8 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3717, allocations: 249.4 kB / 477 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000696/0.3724, allocations: 217.6 kB / 477.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.3728, allocations: 102.8 kB / 477.3 MB, free: 106.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3728, allocations: 1.156 kB / 477.3 MB, free: 106.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04549/0.4183, allocations: 52.51 MB / 0.5174 GB, free: 64.55 MB / 410.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.797525841044262]