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.00106/0.00106, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008955/0.0008955, allocations: 181.9 kB / 23.21 MB, free: 1.352 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.8739/0.8739, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.08452/0.08452, allocations: 17.37 MB / 277.3 MB, free: 11.83 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.613e-06/1.613e-06, allocations: 0 / 412.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.957e-05, allocations: 3.812 kB / 412.7 MB, free: 13.08 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.02418/0.02421, allocations: 26.09 MB / 438.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007987/0.0322, allocations: 7.257 MB / 446 MB, free: 7.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007216/0.03292, allocations: 15.88 kB / 446 MB, free: 7.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.03468, allocations: 0.7297 MB / 446.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.03594, allocations: 0.5697 MB / 447.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.03767, allocations: 0.7535 MB / 448.1 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.03906, allocations: 1.169 MB / 449.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.03931, allocations: 151.8 kB / 449.4 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.03981, allocations: 0.5437 MB / 450 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.04025, allocations: 307.2 kB / 450.3 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.04035, allocations: 84 kB / 450.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.04268, allocations: 0.9632 MB / 451.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.04288, allocations: 280.7 kB / 451.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.04314, allocations: 329.6 kB / 451.9 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.0459, allocations: 2.343 MB / 454.2 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.0459, allocations: 4 kB / 454.2 MB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.04591, allocations: 0 / 454.2 MB, free: 332 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.04592, allocations: 0 / 454.2 MB, free: 332 kB / 346.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.00148/0.0474, allocations: 1.388 MB / 455.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.04743, allocations: 12.03 kB / 455.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.0478, allocations: 224 kB / 455.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.04837, allocations: 0.5281 MB / 456.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.04851, allocations: 177.9 kB / 456.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.04859, allocations: 92.36 kB / 456.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.05124, allocations: 3.796 MB / 460.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.05126, allocations: 192 / 460.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.0513, allocations: 40.11 kB / 460.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.0514, allocations: 142 kB / 460.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.0553, allocations: 6.756 MB / 467.4 MB, free: 3.074 MB / 362.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.007796/0.06309, allocations: 8.693 MB / 476.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.06465, allocations: 1.736 MB / 477.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.06571, allocations: 1.348 MB / 479.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/0.06658, allocations: 0.6414 MB / 479.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.0666, allocations: 38.56 kB / 479.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.06661, allocations: 0 / 479.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.02712/0.09373, allocations: 15.28 MB / 495.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0362/0.1299, allocations: 21.96 MB / 0.505 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.1305, allocations: 0.6329 MB / 0.5056 GB, free: 336 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.1307, allocations: 33.7 kB / 0.5056 GB, free: 296 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.1311, allocations: 0.547 MB / 0.5062 GB, free: 15.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.1314, allocations: 234 kB / 0.5064 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.1318, allocations: 274.5 kB / 0.5066 GB, free: 15.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1319, allocations: 378.7 kB / 0.507 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.1339, allocations: 2.419 MB / 0.5094 GB, free: 12.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.1361, allocations: 2.562 MB / 0.5119 GB, free: 9.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/0.1394, allocations: 3.349 MB / 0.5151 GB, free: 6.418 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1394, allocations: 0 / 0.5151 GB, free: 6.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.008922/0.1483, allocations: 6.78 MB / 0.5218 GB, free: 15.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1483, allocations: 11.94 kB / 0.5218 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1483, allocations: 4 kB / 0.5218 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006849/0.1552, allocations: 3.46 MB / 0.5252 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.1563, allocations: 323.6 kB / 0.5255 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.1695, allocations: 13.28 MB / 0.5384 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.1704, allocations: 83.88 kB / 0.5385 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.1706, allocations: 171.9 kB / 0.5387 GB, free: 14.11 MB / 458.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.0006312/0.1712, allocations: 337.6 kB / 0.539 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.1715, allocations: 79.53 kB / 0.5391 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007299/0.1788, allocations: 4.414 MB / 0.5434 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00604/0.1848, allocations: 3.673 MB / 0.547 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1848, allocations: 0 / 0.547 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1848, allocations: 3.984 kB / 0.547 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.1948, allocations: 6.854 MB / 0.5537 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.1948, allocations: 8.375 kB / 0.5537 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.1956, allocations: 183.7 kB / 0.5538 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01335/0.209, allocations: 3.754 MB / 0.5575 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.2091, allocations: 43.95 kB / 0.5576 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007736/0.2168, allocations: 6.308 MB / 0.5637 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02921/0.2461, allocations: 14.26 MB / 0.5776 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1571/0.4031, allocations: 5.673 MB / 0.5832 GB, free: 156.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.4033, allocations: 83.58 kB / 0.5833 GB, free: 156.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.4035, allocations: 18.8 kB / 0.5833 GB, free: 156.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.4042, allocations: 58.09 kB / 0.5833 GB, free: 156.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.4045, allocations: 98.8 kB / 0.5834 GB, free: 156.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4046, allocations: 79.81 kB / 0.5835 GB, free: 156.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005608/0.4051, allocations: 0.6975 MB / 0.5842 GB, free: 156.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4051, allocations: 0 / 0.5842 GB, free: 156.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001294/0.4064, allocations: 0.5741 MB / 0.5847 GB, free: 156.6 MB / 490.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.00052/0.4069, allocations: 368.4 kB / 0.5851 GB, free: 156.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003732/0.4107, allocations: 3.671 MB / 0.5887 GB, free: 156.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4107, allocations: 0 / 0.5887 GB, free: 156.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.4125, allocations: 1.465 MB / 0.5901 GB, free: 155.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.4132, allocations: 196.3 kB / 0.5903 GB, free: 155.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.4164, allocations: 3.025 MB / 0.5933 GB, free: 153.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.4169, allocations: 0.5316 MB / 0.5938 GB, free: 153.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.4174, allocations: 118.3 kB / 0.5939 GB, free: 153.6 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4174, allocations: 2.656 kB / 0.5939 GB, free: 153.6 MB / 490.7 MB Notification: Performance of Templates: time 0.02708/0.4445, allocations: 41.46 MB / 0.6344 GB, free: 126.3 MB / 490.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.178295169956982] Failed to read output from testmodel.py, exit status != 0: 0.6065215086564422 0.45540670199999994 0.40819897299999996 Calling exit ...