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.001545/0.001545, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009787/0.0009787, allocations: 169 kB / 23.02 MB, free: 1.551 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.9666/0.9666, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.09338/0.09338, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.733e-06/1.733e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.29e-05, allocations: 6.312 kB / 353.4 MB, free: 9.988 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.02415/0.02417, allocations: 29.19 MB / 382.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007686/0.03185, allocations: 8.084 MB / 390.7 MB, free: 4.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.03222, allocations: 15.88 kB / 390.7 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.03362, allocations: 0.7302 MB / 391.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008443/0.03446, allocations: 0.5778 MB / 392 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.03548, allocations: 0.7497 MB / 392.8 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.03652, allocations: 1.164 MB / 393.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.03673, allocations: 157.1 kB / 394.1 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.03719, allocations: 0.5495 MB / 394.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.03751, allocations: 319 kB / 395 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.03759, allocations: 88 kB / 395 MB, free: 444 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.03912, allocations: 0.9591 MB / 396 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.03941, allocations: 271 kB / 396.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.03964, allocations: 335 kB / 396.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.0415, allocations: 1.982 MB / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.0415, allocations: 0 / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.04151, allocations: 4 kB / 398.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.04152, allocations: 4 kB / 398.6 MB, free: 12.88 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.001921/0.04344, allocations: 1.554 MB / 400.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.04348, allocations: 8.031 kB / 400.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.04403, allocations: 475.8 kB / 400.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.04455, allocations: 0.5191 MB / 401.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.04469, allocations: 181.9 kB / 401.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.04478, allocations: 84.36 kB / 401.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.04587, allocations: 1.204 MB / 402.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.04589, allocations: 192 / 402.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.04593, allocations: 40.11 kB / 402.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.04603, allocations: 146 kB / 402.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.04767, allocations: 1.758 MB / 404.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.05284, allocations: 4.983 MB / 409.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.05357, allocations: 347.2 kB / 409.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.05395, allocations: 191.6 kB / 410 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/0.05471, allocations: 0.6337 MB / 410.7 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.05473, allocations: 41.33 kB / 410.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.05473, allocations: 0 / 410.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.1685/0.2233, allocations: 6.43 MB / 417.1 MB, free: 51.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0311/0.2544, allocations: 10.94 MB / 428.1 MB, free: 46.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.255, allocations: 0.6375 MB / 428.7 MB, free: 46.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.2553, allocations: 40.92 kB / 428.8 MB, free: 46.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.2556, allocations: 0.612 MB / 429.4 MB, free: 45.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.2559, allocations: 243.1 kB / 429.6 MB, free: 45.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.2564, allocations: 249.1 kB / 429.8 MB, free: 45.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2565, allocations: 0.5825 MB / 430.4 MB, free: 44.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009478/0.2575, allocations: 433 kB / 430.9 MB, free: 44.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.2584, allocations: 0.6199 MB / 431.5 MB, free: 44.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.2599, allocations: 1.068 MB / 432.5 MB, free: 44.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.26, allocations: 2.625 kB / 432.5 MB, free: 44.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006156/0.2661, allocations: 2.02 MB / 434.6 MB, free: 42.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.2661, allocations: 8 kB / 434.6 MB, free: 42.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2661, allocations: 11.14 kB / 434.6 MB, free: 42.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007312/0.2735, allocations: 2.967 MB / 437.5 MB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.2747, allocations: 314.5 kB / 437.9 MB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/0.2821, allocations: 5.527 MB / 443.4 MB, free: 33.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.2831, allocations: 82.53 kB / 443.5 MB, free: 33.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.2833, allocations: 179.9 kB / 443.6 MB, free: 33.29 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.0005094/0.2838, allocations: 189.9 kB / 443.8 MB, free: 33.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.2842, allocations: 99.47 kB / 443.9 MB, free: 33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/0.2897, allocations: 2.22 MB / 446.1 MB, free: 30.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005021/0.2947, allocations: 1.535 MB / 447.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.2947, allocations: 6.906 kB / 447.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2948, allocations: 3.984 kB / 447.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00769/0.3024, allocations: 4.215 MB / 451.9 MB, free: 24.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3024, allocations: 6.656 kB / 451.9 MB, free: 24.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.3032, allocations: 169.8 kB / 452.1 MB, free: 24.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/0.3177, allocations: 3.116 MB / 455.2 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.3179, allocations: 47.95 kB / 455.2 MB, free: 21.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005624/0.3235, allocations: 3.833 MB / 459.1 MB, free: 17.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02584/0.3493, allocations: 9.773 MB / 468.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.3551, allocations: 2.234 MB / 471.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.3553, allocations: 83.52 kB / 471.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3555, allocations: 15.98 kB / 471.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.3561, allocations: 63.86 kB / 471.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.3563, allocations: 87.81 kB / 471.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.3564, allocations: 75.95 kB / 471.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000376/0.3568, allocations: 0.4912 MB / 471.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3568, allocations: 2.625 kB / 471.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001468/0.3583, allocations: 0.5799 MB / 472.5 MB, free: 4.086 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.0005768/0.3589, allocations: 376.4 kB / 472.8 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.3613, allocations: 1.305 MB / 474.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3613, allocations: 0 / 474.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.3628, allocations: 0.8179 MB / 475 MB, free: 1.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.3636, allocations: 247.8 kB / 475.2 MB, free: 1.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004705/0.3683, allocations: 2.517 MB / 477.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3686, allocations: 249.6 kB / 478 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009372/0.3695, allocations: 212 kB / 478.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.3701, allocations: 104.4 kB / 478.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of SimCode: time 3.046e-06/0.3701, allocations: 0 / 478.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of Templates: time 0.06272/0.4328, allocations: 52.51 MB / 0.5183 GB, free: 10.68 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.8292181943543255]