Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.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.001872/0.001872, allocations: 85.48 kB / 19.44 MB, free: 344 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.002111/0.002111, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.611/1.611, 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.1677/0.1677, 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.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.531e-05/5.756e-05, allocations: 8.922 kB / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.00841/0.008468, allocations: 3.442 MB / 356.1 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.0195, allocations: 4.76 MB / 360.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000622/0.02013, allocations: 7.938 kB / 360.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.02079, allocations: 103.1 kB / 361 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.0227, allocations: 464.5 kB / 361.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.02513, allocations: 0.5475 MB / 362 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.02649, allocations: 0.6036 MB / 362.6 MB, free: 380 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.02716, allocations: 321 kB / 362.9 MB, free: 56 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000809/0.02797, allocations: 419.2 kB / 363.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.02863, allocations: 255.4 kB / 363.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.02877, allocations: 52 kB / 363.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.03082, allocations: 447.2 kB / 364.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.03105, allocations: 123.6 kB / 364.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.03143, allocations: 199.6 kB / 364.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.03419, allocations: 1.136 MB / 365.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.0342, allocations: 0 / 365.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.0342, allocations: 0 / 365.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.03421, allocations: 0 / 365.5 MB, free: 13.45 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002348/0.03656, allocations: 0.9276 MB / 366.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.03662, allocations: 12.03 kB / 366.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000707/0.03732, allocations: 152.2 kB / 366.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.03812, allocations: 319.2 kB / 366.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.03817, allocations: 37.38 kB / 367 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.0383, allocations: 56.31 kB / 367 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.03943, allocations: 450.9 kB / 367.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.03944, allocations: 192 / 367.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.03951, allocations: 16.38 kB / 367.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.03953, allocations: 19.94 kB / 367.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.04086, allocations: 0.4958 MB / 368 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.04448, allocations: 1.407 MB / 369.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.04564, allocations: 339.2 kB / 369.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.04595, allocations: 107.6 kB / 369.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003086/0.04903, allocations: 1.003 MB / 370.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.04908, allocations: 33.39 kB / 370.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.04908, allocations: 0 / 370.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.02199/0.07107, allocations: 2.208 MB / 373.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.07115, allocations: 55.41 kB / 373.1 MB, free: 5.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/0.07187, allocations: 382.2 kB / 373.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/0.07196, allocations: 41.7 kB / 373.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.07232, allocations: 334.8 kB / 373.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.07252, allocations: 119 kB / 374 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.07276, allocations: 103.8 kB / 374.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004127/0.07317, allocations: 0.5274 MB / 374.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.07358, allocations: 144.9 kB / 374.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.07425, allocations: 323.6 kB / 375.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.07544, allocations: 0.5036 MB / 375.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.07545, allocations: 0 / 375.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006313/0.08177, allocations: 0.8564 MB / 376.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.0818, allocations: 13.5 kB / 376.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.08182, allocations: 11.98 kB / 376.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008724/0.09055, allocations: 0.6711 MB / 377.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.09105, allocations: 75.91 kB / 377.2 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.1025, allocations: 4.764 MB / 382 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.1032, allocations: 19.89 kB / 382 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.1032, allocations: 23.98 kB / 382 MB, free: 12.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004791/0.1037, allocations: 208.5 kB / 382.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.1039, allocations: 39.95 kB / 382.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007621/0.1115, allocations: 0.874 MB / 383.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.1116, allocations: 8 kB / 383.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1116, allocations: 4 kB / 383.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.1116, allocations: 0 / 383.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.113, allocations: 0.5706 MB / 383.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.1131, allocations: 0 / 383.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.1134, allocations: 51.92 kB / 383.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/0.1237, allocations: 0.8149 MB / 384.6 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.1238, allocations: 15.98 kB / 384.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.1366, allocations: 6.468 MB / 391.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.1366, allocations: 4 kB / 391.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.1444, allocations: 1.248 MB / 392.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.1445, allocations: 35.75 kB / 392.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.1446, allocations: 8 kB / 392.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.145, allocations: 12 kB / 392.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.1452, allocations: 47.8 kB / 392.4 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.1453, allocations: 19.98 kB / 392.4 MB, free: 1.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003894/0.1457, allocations: 243 kB / 392.7 MB, free: 1.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1457, allocations: 0 / 392.7 MB, free: 1.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001363/0.147, allocations: 239.5 kB / 392.9 MB, free: 0.7969 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000756/0.1478, allocations: 290.7 kB / 393.2 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.1499, allocations: 0.8252 MB / 394 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1499, allocations: 0 / 394 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.1515, allocations: 0.8175 MB / 394.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.1525, allocations: 112.5 kB / 394.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.1553, allocations: 0.9889 MB / 395.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1557, allocations: 224.3 kB / 396.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003974/0.1561, allocations: 75.25 kB / 396.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.1563, allocations: 60.45 kB / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.475e-06/0.1563, allocations: 0 / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Templates: time 0.02354/0.1798, allocations: 12.1 MB / 408.4 MB, free: 1.234 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.621942870086059]