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.001318/0.001318, allocations: 80.06 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00139/0.00139, allocations: 163.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.1361/0.1361, allocations: 17.45 MB / 276.6 MB, free: 15.18 MB / 270.1 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.323e-06/1.323e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.006e-05, allocations: 5.656 kB / 412.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004929/0.004959, allocations: 3.199 MB / 415.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.0111, allocations: 4.249 MB / 419.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.01143, allocations: 11.88 kB / 419.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.01182, allocations: 95.19 kB / 419.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.01289, allocations: 468.5 kB / 420.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.01407, allocations: 0.5553 MB / 420.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007925/0.01486, allocations: 0.6074 MB / 421.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.01529, allocations: 304.8 kB / 421.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.0158, allocations: 415.2 kB / 422 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.01621, allocations: 235.4 kB / 422.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.975e-05/0.0163, allocations: 52 kB / 422.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.0172, allocations: 455.2 kB / 422.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.01735, allocations: 123.6 kB / 422.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.01758, allocations: 195.6 kB / 423 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.0192, allocations: 1.133 MB / 424.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0192, allocations: 0 / 424.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0192, allocations: 3.938 kB / 424.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.01921, allocations: 0 / 424.1 MB, free: 8.164 MB / 350.1 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.001465/0.02067, allocations: 0.7852 MB / 424.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.0207, allocations: 8.031 kB / 424.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.02107, allocations: 92.56 kB / 425 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.02168, allocations: 316.3 kB / 425.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.02172, allocations: 37.38 kB / 425.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.02181, allocations: 44.33 kB / 425.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.02264, allocations: 458.9 kB / 425.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.02265, allocations: 192 / 425.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.02271, allocations: 16.38 kB / 425.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.02273, allocations: 19.88 kB / 425.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.02364, allocations: 0.5036 MB / 426.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.026, allocations: 1.116 MB / 427.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.02682, allocations: 346.4 kB / 427.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.02705, allocations: 112.8 kB / 428 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002086/0.02913, allocations: 0.8739 MB / 428.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.02917, allocations: 34.5 kB / 428.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.02917, allocations: 0 / 428.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.01543/0.0446, allocations: 2.119 MB / 431 MB, free: 1.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.04465, allocations: 55.41 kB / 431 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.04505, allocations: 276.1 kB / 431.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.04509, allocations: 33.7 kB / 431.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.04532, allocations: 292 kB / 431.6 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.04544, allocations: 107.1 kB / 431.7 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.0456, allocations: 82.14 kB / 431.8 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.04579, allocations: 342.8 kB / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.04607, allocations: 136.9 kB / 432.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.04645, allocations: 263.3 kB / 432.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.04717, allocations: 432.8 kB / 433 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.04718, allocations: 0 / 433 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004376/0.05155, allocations: 0.8201 MB / 433.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.05157, allocations: 8.031 kB / 433.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.05158, allocations: 8 kB / 433.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/0.05535, allocations: 405.2 kB / 434.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.05565, allocations: 79.89 kB / 434.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.06291, allocations: 3.688 MB / 438 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.06334, allocations: 27.97 kB / 438 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.0634, allocations: 24 kB / 438 MB, free: 9.715 MB / 366.1 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.0003233/0.06372, allocations: 172.5 kB / 438.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.06383, allocations: 35.77 kB / 438.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.06914, allocations: 0.8251 MB / 439 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.06914, allocations: 4 kB / 439 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.06915, allocations: 4 kB / 439.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.06915, allocations: 3.938 kB / 439.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007939/0.06995, allocations: 486.4 kB / 439.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.06995, allocations: 0 / 439.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.07015, allocations: 51.91 kB / 439.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/0.07497, allocations: 494.3 kB / 440.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.075, allocations: 11.98 kB / 440.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007995/0.083, allocations: 4.874 MB / 444.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.083, allocations: 7.938 kB / 445 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.08833, allocations: 1.116 MB / 446.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.08842, allocations: 35.84 kB / 446.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.08847, allocations: 15.94 kB / 446.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.08876, allocations: 8 kB / 446.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.08888, allocations: 43.86 kB / 446.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.08892, allocations: 20 kB / 446.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.08913, allocations: 191 kB / 446.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08913, allocations: 0 / 446.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000821/0.08995, allocations: 243.5 kB / 446.6 MB, free: 0.6641 MB / 366.1 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.000527/0.09048, allocations: 286.8 kB / 446.9 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1595/0.25, allocations: 0.663 MB / 447.6 MB, free: 45.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.25, allocations: 0 / 447.6 MB, free: 45.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.2509, allocations: 0.5969 MB / 448.2 MB, free: 44.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.2516, allocations: 95.27 kB / 448.3 MB, free: 44.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.253, allocations: 0.9531 MB / 449.2 MB, free: 44.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2532, allocations: 223.5 kB / 449.4 MB, free: 44.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.2534, allocations: 71.42 kB / 449.5 MB, free: 44.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2535, allocations: 60.25 kB / 449.6 MB, free: 44.35 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2535, allocations: 0.9375 kB / 449.6 MB, free: 44.35 MB / 366.1 MB Notification: Performance of Templates: time 0.0183/0.2718, allocations: 11.68 MB / 461.2 MB, free: 41.21 MB / 366.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.218297585844994] Failed to read output from testmodel.py, exit status != 0: 0.2803976498544216 0.28926828400000004 0.267958174 Calling exit ...