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.0009366/0.0009366, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009887/0.0009887, allocations: 181 kB / 23.36 MB, free: 1.129 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.9617/0.9617, allocations: 177.1 MB / 203.8 MB, free: 5.516 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.1097/0.1097, allocations: 17.39 MB / 277.6 MB, free: 11.56 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.162e-06/1.162e-06, allocations: 0 / 300.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.561e-05, allocations: 5.109 kB / 300.6 MB, free: 1.688 MB / 266.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.03076/0.03077, allocations: 34.96 MB / 335.6 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008052/0.03882, allocations: 8.121 MB / 343.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.03956, allocations: 15.88 kB / 343.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.04118, allocations: 0.7457 MB / 344.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.04233, allocations: 0.5779 MB / 345 MB, free: 8.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.04385, allocations: 0.7731 MB / 345.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.04502, allocations: 1.165 MB / 346.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.04526, allocations: 175.1 kB / 347.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.04576, allocations: 0.5417 MB / 347.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.0461, allocations: 331 kB / 348 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.04618, allocations: 84 kB / 348.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.04774, allocations: 0.9592 MB / 349 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.04791, allocations: 274.9 kB / 349.3 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.04814, allocations: 331.6 kB / 349.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.05003, allocations: 1.978 MB / 351.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.05004, allocations: 0 / 351.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05004, allocations: 0 / 351.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.05005, allocations: 0 / 351.6 MB, free: 1.453 MB / 314.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.001635/0.05169, allocations: 1.381 MB / 353 MB, free: 44 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.05172, allocations: 16.03 kB / 353 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.05225, allocations: 424.6 kB / 353.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.05272, allocations: 420.9 kB / 353.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.05286, allocations: 166 kB / 354 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.05294, allocations: 88.36 kB / 354.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.05383, allocations: 1.031 MB / 355.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.05384, allocations: 192 / 355.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.05388, allocations: 44.11 kB / 355.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.05399, allocations: 146 kB / 355.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.05504, allocations: 1.331 MB / 356.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.05968, allocations: 4.128 MB / 360.7 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.06025, allocations: 307.9 kB / 361 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.06051, allocations: 116.8 kB / 361.2 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/0.06129, allocations: 0.6259 MB / 361.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.06131, allocations: 38.56 kB / 361.8 MB, free: 7.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.364e-06/0.06131, allocations: 0 / 361.8 MB, free: 7.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.02113/0.08244, allocations: 5.361 MB / 367.2 MB, free: 1.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02347/0.1059, allocations: 8.078 MB / 375.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.1063, allocations: 495.9 kB / 375.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.1065, allocations: 41.69 kB / 375.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.1067, allocations: 465.3 kB / 376.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.107, allocations: 245.9 kB / 376.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.1074, allocations: 186.5 kB / 376.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1075, allocations: 390.6 kB / 377 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.1082, allocations: 352.7 kB / 377.4 MB, free: 7.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.109, allocations: 488.1 kB / 377.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.1103, allocations: 0.9063 MB / 378.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1103, allocations: 0 / 378.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004814/0.1151, allocations: 1.482 MB / 380.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1151, allocations: 8 kB / 380.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1151, allocations: 4 kB / 380.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.1218, allocations: 2.758 MB / 383 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.1228, allocations: 247.6 kB / 383.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/0.1287, allocations: 3.896 MB / 387.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.1294, allocations: 31.98 kB / 387.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.1296, allocations: 159.9 kB / 387.3 MB, free: 12.88 MB / 362.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.0004725/0.1301, allocations: 152.5 kB / 387.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.1304, allocations: 67.94 kB / 387.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.1348, allocations: 1.67 MB / 389.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003355/0.1382, allocations: 1.024 MB / 390.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1382, allocations: 7.984 kB / 390.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1382, allocations: 0 / 390.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005699/0.1439, allocations: 2.784 MB / 393 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1439, allocations: 7.984 kB / 393.1 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.1445, allocations: 135.8 kB / 393.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/0.1559, allocations: 2.635 MB / 395.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/0.1561, allocations: 35.95 kB / 395.9 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.1605, allocations: 2.678 MB / 398.5 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02069/0.1812, allocations: 7.102 MB / 405.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.1855, allocations: 1.625 MB / 407.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.1857, allocations: 67.52 kB / 407.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.1858, allocations: 23.89 kB / 407.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.1863, allocations: 27.98 kB / 407.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.1865, allocations: 88.25 kB / 407.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.1866, allocations: 67.95 kB / 407.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002734/0.1869, allocations: 296.6 kB / 407.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1869, allocations: 0 / 407.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00159/0.1885, allocations: 0.57 MB / 408.4 MB, free: 7.254 MB / 378.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.0006627/0.1892, allocations: 358 kB / 408.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.1912, allocations: 1.012 MB / 409.8 MB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/0.1912, allocations: 8 kB / 409.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.1923, allocations: 0.6315 MB / 410.4 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.193, allocations: 241.4 kB / 410.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.1964, allocations: 2.358 MB / 413 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1966, allocations: 255.6 kB / 413.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007107/0.1973, allocations: 209.5 kB / 413.4 MB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/0.198, allocations: 237.2 kB / 413.7 MB, free: 1.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.198, allocations: 0 / 413.7 MB, free: 1.812 MB / 378.7 MB Notification: Performance of Templates: time 0.184/0.382, allocations: 56.25 MB / 469.9 MB, free: 117.6 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.382202852983028]