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.001099/0.001099, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001427/0.001427, allocations: 177 kB / 23.36 MB, free: 1.129 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.9291/0.9291, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1016/0.1016, allocations: 17.46 MB / 277.7 MB, free: 11.43 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.202e-06/1.202e-06, allocations: 0 / 300.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.789e-06/1.099e-05, allocations: 2.312 kB / 300.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003172/0.003183, allocations: 3.47 MB / 304.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.00915, allocations: 4.756 MB / 308.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.009285, allocations: 11.88 kB / 309 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.009562, allocations: 101.9 kB / 309.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.01021, allocations: 474.6 kB / 309.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.01089, allocations: 0.5514 MB / 310.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.01137, allocations: 0.6075 MB / 310.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.01164, allocations: 318.9 kB / 311 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.01194, allocations: 423.2 kB / 311.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.01219, allocations: 247.4 kB / 311.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.01225, allocations: 52 kB / 311.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.01279, allocations: 451.2 kB / 312.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.01287, allocations: 123.6 kB / 312.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.013, allocations: 203.6 kB / 312.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.0138, allocations: 0.9182 MB / 313.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.0138, allocations: 3.938 kB / 313.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.0138, allocations: 0 / 313.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.0138, allocations: 4 kB / 313.4 MB, free: 7.449 MB / 282.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.0007667/0.01457, allocations: 0.7754 MB / 314.2 MB, free: 6.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.0146, allocations: 16.03 kB / 314.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.01485, allocations: 140.3 kB / 314.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.01513, allocations: 256.5 kB / 314.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.01515, allocations: 37.38 kB / 314.6 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.0152, allocations: 44.38 kB / 314.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.01548, allocations: 326.9 kB / 315 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01549, allocations: 4.125 kB / 315 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.01552, allocations: 20.38 kB / 315 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.01553, allocations: 15.94 kB / 315 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.0158, allocations: 254.8 kB / 315.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01691, allocations: 0.9478 MB / 316.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.01726, allocations: 291.2 kB / 316.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.01732, allocations: 56.84 kB / 316.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009343/0.01825, allocations: 0.7789 MB / 317.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.01827, allocations: 34.56 kB / 317.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.01827, allocations: 0 / 317.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.005534/0.0238, allocations: 1.905 MB / 319.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.02383, allocations: 55.41 kB / 319.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.02397, allocations: 258.9 kB / 319.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.02399, allocations: 33.7 kB / 319.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.02409, allocations: 268.5 kB / 319.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.02415, allocations: 107 kB / 320 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.02423, allocations: 94.12 kB / 320.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.0243, allocations: 342.8 kB / 320.4 MB, free: 232 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.02438, allocations: 73.67 kB / 320.5 MB, free: 156 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.0245, allocations: 188.6 kB / 320.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.02472, allocations: 304.8 kB / 320.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.02472, allocations: 4 kB / 320.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001379/0.0261, allocations: 0.5935 MB / 321.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.02611, allocations: 8 kB / 321.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.02612, allocations: 4 kB / 321.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.02814, allocations: 0.6067 MB / 322.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.02827, allocations: 79.84 kB / 322.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.03071, allocations: 2.921 MB / 325.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.03083, allocations: 19.95 kB / 325.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.03086, allocations: 16 kB / 325.2 MB, free: 11.12 MB / 298.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.000101/0.03096, allocations: 144.4 kB / 325.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.03103, allocations: 27.97 kB / 325.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.0327, allocations: 0.6253 MB / 326 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.0327, allocations: 4 kB / 326 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.03271, allocations: 3.938 kB / 326 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.03271, allocations: 0 / 326 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.03304, allocations: 419.6 kB / 326.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.03304, allocations: 0 / 326.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.03313, allocations: 47.92 kB / 326.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/0.03569, allocations: 0.7558 MB / 327.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.03571, allocations: 15.98 kB / 327.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.03842, allocations: 4.033 MB / 331.3 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03842, allocations: 0 / 331.3 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.04019, allocations: 0.8152 MB / 332.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.04022, allocations: 39.78 kB / 332.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.04024, allocations: 8 kB / 332.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.04036, allocations: 12 kB / 332.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.04042, allocations: 51.8 kB / 332.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.04043, allocations: 8 kB / 332.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.0405, allocations: 96.62 kB / 332.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0405, allocations: 0 / 332.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.04094, allocations: 235.5 kB / 332.5 MB, free: 3.387 MB / 298.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.0003296/0.04127, allocations: 299.6 kB / 332.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.04181, allocations: 0.5389 MB / 333.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.04182, allocations: 4 kB / 333.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.0422, allocations: 0.5667 MB / 333.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.04252, allocations: 115.6 kB / 334 MB, free: 1.805 MB / 298.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.04382, allocations: 0.9445 MB / 335 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.403e-05/0.0439, allocations: 117.8 kB / 335.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.04404, allocations: 65.39 kB / 335.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.04422, allocations: 157.3 kB / 335.3 MB, free: 464 kB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04422, allocations: 0 / 335.3 MB, free: 464 kB / 298.7 MB Notification: Performance of Templates: time 0.01309/0.05731, allocations: 13.2 MB / 348.5 MB, free: 3.359 MB / 314.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: 2.9925520988181233]