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.001424/0.001424, allocations: 93.06 kB / 19.65 MB, free: 280 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.001746/0.001746, allocations: 169 kB / 23.02 MB, free: 1.555 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.03/1.03, 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.1229/0.1229, 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.363e-06/1.363e-06, allocations: 3.938 kB / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.628e-05, allocations: 2.312 kB / 353.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.00325/0.003266, allocations: 3.499 MB / 357 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.007082, allocations: 4.791 MB / 361.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.007244, allocations: 11.94 kB / 361.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.007533, allocations: 107 kB / 361.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.008179, allocations: 460.5 kB / 362.4 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.008812, allocations: 0.5553 MB / 362.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.009297, allocations: 0.5997 MB / 363.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.009579, allocations: 317 kB / 363.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.009861, allocations: 415.2 kB / 364.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.01012, allocations: 255.4 kB / 364.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.01018, allocations: 56 kB / 364.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.01069, allocations: 451.2 kB / 365 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.01078, allocations: 123.5 kB / 365.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01092, allocations: 203.5 kB / 365.3 MB, free: 14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008171/0.01174, allocations: 0.9182 MB / 366.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01174, allocations: 4 kB / 366.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.01174, allocations: 0 / 366.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01175, allocations: 0 / 366.2 MB, free: 13.08 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.000893/0.01264, allocations: 0.9002 MB / 367.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01267, allocations: 8.031 kB / 367.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.01294, allocations: 148 kB / 367.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.01327, allocations: 319.2 kB / 367.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.0133, allocations: 37.38 kB / 367.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.01336, allocations: 52.33 kB / 367.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.01376, allocations: 354.9 kB / 368 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01377, allocations: 192 / 368 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.0138, allocations: 20.38 kB / 368.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.01381, allocations: 19.92 kB / 368.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.01424, allocations: 349.7 kB / 368.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.01557, allocations: 1.162 MB / 369.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.01602, allocations: 335.1 kB / 369.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.01612, allocations: 75.66 kB / 370 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.01717, allocations: 0.9444 MB / 370.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.01719, allocations: 37.39 kB / 371 MB, free: 8.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.01719, allocations: 0 / 371 MB, free: 8.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.006467/0.02366, allocations: 1.985 MB / 373 MB, free: 6.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.02368, allocations: 51.41 kB / 373 MB, free: 6.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.02388, allocations: 334.2 kB / 373.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.0239, allocations: 29.7 kB / 373.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.02403, allocations: 322.8 kB / 373.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.0241, allocations: 123 kB / 373.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.02419, allocations: 87.8 kB / 373.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.02432, allocations: 0.5157 MB / 374.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.0245, allocations: 101.6 kB / 374.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.0247, allocations: 282.3 kB / 374.8 MB, free: 4.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.02505, allocations: 399.7 kB / 375.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.02505, allocations: 0 / 375.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001771/0.02682, allocations: 0.7278 MB / 375.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02684, allocations: 8 kB / 375.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.02684, allocations: 7.984 kB / 375.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.02926, allocations: 0.6201 MB / 376.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.0294, allocations: 83.89 kB / 376.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.03276, allocations: 4.139 MB / 380.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.03296, allocations: 19.94 kB / 380.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.033, allocations: 23.98 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.0001376/0.03314, allocations: 180.5 kB / 381 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.03322, allocations: 47.7 kB / 381 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.03601, allocations: 0.7485 MB / 381.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.03602, allocations: 4 kB / 381.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.03602, allocations: 3.938 kB / 381.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.03603, allocations: 4 kB / 381.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.03653, allocations: 0.4885 MB / 382.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.03654, allocations: 0 / 382.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.03667, allocations: 47.92 kB / 382.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004001/0.04067, allocations: 0.7644 MB / 383.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.0407, allocations: 12 kB / 383.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.04535, allocations: 5.835 MB / 388.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.04535, allocations: 8 kB / 388.9 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.04829, allocations: 1.025 MB / 389.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.04833, allocations: 35.77 kB / 390 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.04837, allocations: 8 kB / 390 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.04855, allocations: 8 kB / 390 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.04864, allocations: 51.8 kB / 390.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.04867, allocations: 19.98 kB / 390.1 MB, free: 3.984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.04882, allocations: 215 kB / 390.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04882, allocations: 0 / 390.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006861/0.0495, allocations: 239.5 kB / 390.5 MB, free: 3.539 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.0004228/0.04993, allocations: 302.6 kB / 390.8 MB, free: 3.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009438/0.05087, allocations: 0.7237 MB / 391.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.05087, allocations: 0 / 391.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.05151, allocations: 0.7511 MB / 392.3 MB, free: 1.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.05204, allocations: 116.5 kB / 392.4 MB, free: 1.551 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.001868/0.05391, allocations: 0.9718 MB / 393.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.05401, allocations: 117.8 kB / 393.5 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.0542, allocations: 71.2 kB / 393.6 MB, free: 312 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.0543, allocations: 52.47 kB / 393.6 MB, free: 260 kB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0543, allocations: 0 / 393.6 MB, free: 260 kB / 314.7 MB Notification: Performance of Templates: time 0.01594/0.07024, allocations: 12.11 MB / 405.7 MB, free: 4.242 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.586337200831622]