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.001463/0.001463, allocations: 88.72 kB / 19.44 MB, free: 356 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.001671/0.001671, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.1437/0.1437, allocations: 17.45 MB / 277 MB, free: 11.57 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.342e-06/1.342e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.561e-05/3.695e-05, allocations: 9.062 kB / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.006078/0.006115, allocations: 3.207 MB / 356 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.0137, allocations: 4.245 MB / 360.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.01419, allocations: 7.938 kB / 360.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.01475, allocations: 99.14 kB / 360.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.01636, allocations: 464.5 kB / 360.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.01789, allocations: 0.5553 MB / 361.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.01901, allocations: 0.6074 MB / 362 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.0196, allocations: 313 kB / 362.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.02032, allocations: 411.2 kB / 362.7 MB, free: 280 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.02087, allocations: 243.4 kB / 362.9 MB, free: 36 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.02102, allocations: 52.05 kB / 363 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.02218, allocations: 443.2 kB / 363.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.02236, allocations: 123.6 kB / 363.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.02269, allocations: 199.6 kB / 363.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.02484, allocations: 1.129 MB / 364.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.02485, allocations: 4 kB / 364.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.02485, allocations: 0 / 364.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.68e-05/0.02491, allocations: 0 / 364.9 MB, free: 14.1 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.002351/0.02726, allocations: 0.7929 MB / 365.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.0273, allocations: 8.031 kB / 365.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.02793, allocations: 156 kB / 365.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.0287, allocations: 316.4 kB / 366.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.02875, allocations: 33.38 kB / 366.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.02887, allocations: 56.33 kB / 366.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009884/0.02986, allocations: 454.9 kB / 366.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.02987, allocations: 192 / 366.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.02993, allocations: 20.38 kB / 366.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.02995, allocations: 15.94 kB / 366.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/0.03093, allocations: 0.4997 MB / 367.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.03362, allocations: 1.147 MB / 368.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.0345, allocations: 338.6 kB / 368.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.03471, allocations: 104.8 kB / 368.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.03698, allocations: 0.8976 MB / 369.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.03702, allocations: 34.56 kB / 369.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.03702, allocations: 0 / 369.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.01604/0.05305, allocations: 2.123 MB / 371.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.05312, allocations: 59.34 kB / 371.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.05353, allocations: 276.1 kB / 372.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.05359, allocations: 37.7 kB / 372.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.05385, allocations: 280 kB / 372.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.05398, allocations: 115 kB / 372.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.05416, allocations: 86.12 kB / 372.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.05436, allocations: 338.8 kB / 373 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.05464, allocations: 132.9 kB / 373.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.05506, allocations: 267.7 kB / 373.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.05582, allocations: 432.8 kB / 373.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.05582, allocations: 0 / 373.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004583/0.06041, allocations: 0.8275 MB / 374.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.06043, allocations: 8 kB / 374.6 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.06045, allocations: 4.531 kB / 374.6 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006653/0.0671, allocations: 0.6767 MB / 375.3 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.06744, allocations: 71.91 kB / 375.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/0.07526, allocations: 3.703 MB / 379.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.07575, allocations: 15.94 kB / 379.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.07583, allocations: 20 kB / 379.1 MB, free: 15.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.0003922/0.07622, allocations: 169.8 kB / 379.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.07643, allocations: 47.77 kB / 379.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.0818, allocations: 0.8296 MB / 380.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.08181, allocations: 4.141 kB / 380.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.08182, allocations: 4 kB / 380.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.08182, allocations: 3.984 kB / 380.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.08269, allocations: 0.4904 MB / 380.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.0827, allocations: 4.25 kB / 380.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.0829, allocations: 55.92 kB / 380.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007924/0.09082, allocations: 0.7947 MB / 381.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.09089, allocations: 16 kB / 381.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008763/0.09965, allocations: 4.889 MB / 386.4 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.09966, allocations: 4 kB / 386.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.1055, allocations: 1.124 MB / 387.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1056, allocations: 35.78 kB / 387.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.1057, allocations: 12 kB / 387.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.106, allocations: 12 kB / 387.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.1061, allocations: 47.8 kB / 387.7 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.1062, allocations: 19.98 kB / 387.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000269/0.1064, allocations: 187.1 kB / 387.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1064, allocations: 4.062 kB / 387.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009885/0.1074, allocations: 239.5 kB / 388.1 MB, free: 5.812 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.0006865/0.1081, allocations: 286.6 kB / 388.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.1097, allocations: 0.6659 MB / 389 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1097, allocations: 0 / 389 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.111, allocations: 0.5943 MB / 389.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.1117, allocations: 120.5 kB / 389.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1138, allocations: 0.9734 MB / 390.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1141, allocations: 224.3 kB / 391 MB, free: 2.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.1144, allocations: 75.42 kB / 391 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1145, allocations: 56.47 kB / 391.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1145, allocations: 3.938 kB / 391.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of Templates: time 0.02339/0.1379, allocations: 11.75 MB / 402.8 MB, free: 7.02 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.174407185986638]