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.001376/0.001376, allocations: 92.7 kB / 19.44 MB, free: 324 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.001543/0.001543, allocations: 161.3 kB / 22.75 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.451/1.451, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1554/0.1554, 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 2.044e-06/2.044e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.069e-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.04128/0.04131, allocations: 26.29 MB / 379 MB, free: 192 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.05402, allocations: 7.246 MB / 386.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.05483, allocations: 15.88 kB / 386.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.05756, allocations: 0.7302 MB / 387 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.05966, allocations: 0.5778 MB / 387.6 MB, free: 7.578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.06215, allocations: 0.7459 MB / 388.3 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.06443, allocations: 1.168 MB / 389.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.06487, allocations: 153.1 kB / 389.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.06589, allocations: 0.5417 MB / 390.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.06653, allocations: 307 kB / 390.5 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.06673, allocations: 84 kB / 390.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.06983, allocations: 0.9591 MB / 391.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.07019, allocations: 271 kB / 391.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.0708, allocations: 331 kB / 392.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004431/0.07523, allocations: 2.349 MB / 394.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.07524, allocations: 4 kB / 394.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07524, allocations: 0 / 394.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-05/0.07528, allocations: 0 / 394.4 MB, free: 0.6523 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.00308/0.07836, allocations: 1.395 MB / 395.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.0784, allocations: 8.031 kB / 395.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.07946, allocations: 479.8 kB / 396.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.08049, allocations: 0.5397 MB / 396.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.08074, allocations: 185.9 kB / 397 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.08089, allocations: 84.38 kB / 397.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/0.08596, allocations: 3.788 MB / 400.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.08598, allocations: 192 / 400.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.08607, allocations: 36.12 kB / 400.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.08626, allocations: 146 kB / 401.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/0.09458, allocations: 6.752 MB / 407.8 MB, free: 3.156 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/0.2525, allocations: 8.743 MB / 416.6 MB, free: 62.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.255, allocations: 1.739 MB / 418.3 MB, free: 61.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.2573, allocations: 1.344 MB / 419.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/0.259, allocations: 0.6448 MB / 420.3 MB, free: 60.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2591, allocations: 39.73 kB / 420.3 MB, free: 60.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.2591, allocations: 0 / 420.3 MB, free: 60.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.0488/0.3079, allocations: 15.3 MB / 435.6 MB, free: 48.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06262/0.3705, allocations: 21.99 MB / 457.6 MB, free: 26.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.3712, allocations: 0.6299 MB / 458.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003639/0.3716, allocations: 33.7 kB / 458.3 MB, free: 25.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.3719, allocations: 0.5422 MB / 458.8 MB, free: 25.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/0.3723, allocations: 241.1 kB / 459.1 MB, free: 24.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/0.3731, allocations: 271.7 kB / 459.3 MB, free: 24.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.3732, allocations: 382.7 kB / 459.7 MB, free: 24.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.3755, allocations: 2.425 MB / 462.1 MB, free: 21.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.378, allocations: 2.556 MB / 464.7 MB, free: 19.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.3818, allocations: 3.347 MB / 468 MB, free: 15.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3818, allocations: 0 / 468 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01367/0.3954, allocations: 6.866 MB / 474.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3955, allocations: 4 kB / 474.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3955, allocations: 4 kB / 474.9 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/0.41, allocations: 4.772 MB / 479.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.4121, allocations: 319.6 kB / 480 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/0.4347, allocations: 13.3 MB / 493.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.4367, allocations: 79.89 kB / 493.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005705/0.4373, allocations: 176.7 kB / 493.5 MB, free: 6.211 MB / 346.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.001154/0.4384, allocations: 338.9 kB / 493.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/0.439, allocations: 96.31 kB / 494 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.4534, allocations: 4.418 MB / 498.4 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01236/0.4657, allocations: 3.674 MB / 0.4903 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4657, allocations: 0 / 0.4903 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.4657, allocations: 10.67 kB / 0.4903 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/0.4846, allocations: 6.882 MB / 0.497 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4846, allocations: 2.766 kB / 0.497 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.4861, allocations: 178.3 kB / 0.4972 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02972/0.5158, allocations: 3.913 MB / 0.501 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/0.5161, allocations: 47.95 kB / 0.5011 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.5307, allocations: 6.34 MB / 0.5073 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06077/0.5915, allocations: 14.29 MB / 0.5212 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.6073, allocations: 5.697 MB / 0.5268 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.6076, allocations: 83.41 kB / 0.5269 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.6079, allocations: 22.53 kB / 0.5269 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.6093, allocations: 59.91 kB / 0.5269 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/0.6098, allocations: 96.23 kB / 0.527 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/0.61, allocations: 83.94 kB / 0.5271 GB, free: 7.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.6111, allocations: 0.6943 MB / 0.5278 GB, free: 6.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6111, allocations: 2.656 kB / 0.5278 GB, free: 6.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002278/0.6134, allocations: 0.5705 MB / 0.5284 GB, free: 6.32 MB / 394.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.0009553/0.6144, allocations: 382 kB / 0.5287 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007595/0.6219, allocations: 3.669 MB / 0.5323 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.622, allocations: 0 / 0.5323 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003873/0.6258, allocations: 1.467 MB / 0.5337 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.6273, allocations: 239.5 kB / 0.534 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.6338, allocations: 2.978 MB / 0.5369 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/0.6346, allocations: 0.5297 MB / 0.5374 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001428/0.636, allocations: 275.1 kB / 0.5376 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007986/0.6368, allocations: 108.4 kB / 0.5378 GB, free: 12.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6368, allocations: 0 / 0.5378 GB, free: 12.73 MB / 410.7 MB Notification: Performance of Templates: time 0.2128/0.8496, allocations: 49.67 MB / 0.5863 GB, free: 113.5 MB / 410.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=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.008248048950918]