Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009178/0.0009178, allocations: 93.06 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.001044/0.001044, allocations: 169 kB / 23.02 MB, free: 1.543 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.9778/0.9778, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09381/0.09381, allocations: 17.46 MB / 277.4 MB, free: 11.56 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.682e-05, allocations: 8.641 kB / 353.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003645/0.003661, allocations: 3.496 MB / 357 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.007901, allocations: 4.791 MB / 361.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.008106, allocations: 7.938 kB / 361.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.00848, allocations: 111 kB / 361.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009212/0.009401, allocations: 468.5 kB / 362.4 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.01039, allocations: 0.5437 MB / 362.9 MB, free: 412 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.01106, allocations: 0.6086 MB / 363.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.01143, allocations: 313 kB / 363.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.01179, allocations: 415.2 kB / 364.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.01208, allocations: 255.4 kB / 364.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.01214, allocations: 56 kB / 364.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.01281, allocations: 455.1 kB / 365 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.01291, allocations: 127.5 kB / 365.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.01304, allocations: 195.6 kB / 365.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009376/0.01398, allocations: 0.9182 MB / 366.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01398, allocations: 4 kB / 366.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01398, allocations: 0 / 366.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.01398, allocations: 0 / 366.2 MB, free: 13.09 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.001031/0.01502, allocations: 0.9041 MB / 367.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.01505, allocations: 8.031 kB / 367.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.01537, allocations: 152 kB / 367.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.01572, allocations: 319.2 kB / 367.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.01574, allocations: 37.38 kB / 367.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.0158, allocations: 52.33 kB / 367.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.01621, allocations: 351 kB / 368 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01622, allocations: 192 / 368 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.01626, allocations: 20.38 kB / 368.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.01627, allocations: 15.94 kB / 368.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.01668, allocations: 349.7 kB / 368.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.01831, allocations: 1.159 MB / 369.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.01878, allocations: 335.1 kB / 369.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.01888, allocations: 79.66 kB / 370 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.01997, allocations: 0.9483 MB / 370.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.01999, allocations: 33.39 kB / 371 MB, free: 8.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.01999, allocations: 0 / 371 MB, free: 8.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006057/0.02605, allocations: 1.986 MB / 373 MB, free: 6.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.02608, allocations: 55.41 kB / 373 MB, free: 6.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.02628, allocations: 330.2 kB / 373.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.02631, allocations: 29.7 kB / 373.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.02644, allocations: 330.8 kB / 373.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.02651, allocations: 119 kB / 373.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.0266, allocations: 91.8 kB / 373.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.02672, allocations: 0.5118 MB / 374.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.02685, allocations: 101.7 kB / 374.5 MB, free: 4.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.02705, allocations: 279.4 kB / 374.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.0274, allocations: 407.7 kB / 375.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.0274, allocations: 0 / 375.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001729/0.02913, allocations: 0.7239 MB / 375.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02915, allocations: 8 kB / 375.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.02915, allocations: 7.984 kB / 375.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/0.03197, allocations: 0.6201 MB / 376.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.03212, allocations: 83.84 kB / 376.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.0364, allocations: 4.135 MB / 380.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.03656, allocations: 23.92 kB / 380.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.03659, allocations: 20 kB / 380.8 MB, free: 13.83 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.0001311/0.03672, allocations: 184.4 kB / 381 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.03678, allocations: 43.77 kB / 381 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.03883, allocations: 0.7412 MB / 381.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.03883, allocations: 7.938 kB / 381.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.03884, allocations: 0 / 381.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.03884, allocations: 4 kB / 381.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.03926, allocations: 496.1 kB / 382.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03926, allocations: 0 / 382.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.03936, allocations: 51.91 kB / 382.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/0.04228, allocations: 0.7682 MB / 383.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.0423, allocations: 16 kB / 383.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.04591, allocations: 5.835 MB / 388.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.04591, allocations: 4 kB / 388.9 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.04813, allocations: 1.025 MB / 389.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.04817, allocations: 35.75 kB / 390 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.0482, allocations: 12 kB / 390 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.04832, allocations: 8 kB / 390 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.0484, allocations: 47.8 kB / 390.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.04843, allocations: 16 kB / 390.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.04855, allocations: 215 kB / 390.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04855, allocations: 0 / 390.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005833/0.04914, allocations: 239.5 kB / 390.5 MB, free: 3.543 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.0003892/0.04952, allocations: 298.5 kB / 390.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.05028, allocations: 0.7236 MB / 391.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.05028, allocations: 4 kB / 391.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.05078, allocations: 0.7511 MB / 392.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.05119, allocations: 122.9 kB / 392.4 MB, free: 1.555 MB / 314.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.05276, allocations: 0.9771 MB / 393.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.05284, allocations: 121.7 kB / 393.5 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.05298, allocations: 63.27 kB / 393.6 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.05305, allocations: 56.47 kB / 393.6 MB, free: 264 kB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.05306, allocations: 0 / 393.6 MB, free: 264 kB / 314.7 MB Notification: Performance of Templates: time 0.01363/0.06668, allocations: 13.09 MB / 406.7 MB, free: 3.266 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.320594440214336]