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.0007947/0.0007947, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007984/0.0007984, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9086/0.9086, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.08095/0.08095, allocations: 17.46 MB / 277.4 MB, free: 11.74 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.422e-06/1.422e-06, allocations: 0 / 412.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.824e-05, allocations: 3.406 kB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003314/0.003343, allocations: 3.21 MB / 416.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.007033, allocations: 4.233 MB / 420.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.00729, allocations: 11.88 kB / 420.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.007665, allocations: 103.1 kB / 420.4 MB, free: 8.156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009099/0.008575, allocations: 468.5 kB / 420.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.009527, allocations: 0.5514 MB / 421.4 MB, free: 7.141 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.01009, allocations: 0.6036 MB / 422 MB, free: 6.531 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.01041, allocations: 304.8 kB / 422.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.01075, allocations: 407.2 kB / 422.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.01101, allocations: 243.4 kB / 423 MB, free: 5.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.01105, allocations: 56 kB / 423 MB, free: 5.539 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.01175, allocations: 447.2 kB / 423.5 MB, free: 5.102 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.01185, allocations: 119.6 kB / 423.6 MB, free: 4.984 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.01198, allocations: 207.5 kB / 423.8 MB, free: 4.781 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01312, allocations: 1.125 MB / 424.9 MB, free: 3.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01313, allocations: 3.938 kB / 424.9 MB, free: 3.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.01313, allocations: 0 / 424.9 MB, free: 3.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.01314, allocations: 0 / 424.9 MB, free: 3.648 MB / 394.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.0009808/0.01412, allocations: 0.7929 MB / 425.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.01416, allocations: 8.031 kB / 425.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.0144, allocations: 92.53 kB / 425.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.01483, allocations: 316.3 kB / 426.1 MB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.01486, allocations: 29.38 kB / 426.1 MB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.01492, allocations: 48.38 kB / 426.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.0154, allocations: 458.9 kB / 426.6 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01542, allocations: 192 / 426.6 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.01545, allocations: 16.38 kB / 426.6 MB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.01546, allocations: 19.94 kB / 426.7 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.01598, allocations: 0.5036 MB / 427.2 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.0174, allocations: 1.132 MB / 428.3 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.01788, allocations: 334.6 kB / 428.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.018, allocations: 104.8 kB / 428.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.01911, allocations: 0.8742 MB / 429.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.01913, allocations: 34.56 kB / 429.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.01913, allocations: 0 / 429.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.006236/0.02537, allocations: 2.118 MB / 431.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.02541, allocations: 59.41 kB / 431.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.02561, allocations: 276.1 kB / 432.1 MB, free: 12.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.02563, allocations: 33.7 kB / 432.1 MB, free: 12.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02576, allocations: 284 kB / 432.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.02582, allocations: 111.1 kB / 432.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.02592, allocations: 90.12 kB / 432.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.02601, allocations: 338.8 kB / 432.9 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.02617, allocations: 136.9 kB / 433 MB, free: 11.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.02639, allocations: 260.7 kB / 433.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.0268, allocations: 428.8 kB / 433.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.0268, allocations: 4 kB / 433.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001832/0.02863, allocations: 0.8081 MB / 434.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.02865, allocations: 7.938 kB / 434.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.02866, allocations: 11.98 kB / 434.6 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.03013, allocations: 405.7 kB / 434.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.03027, allocations: 79.91 kB / 435 MB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.03396, allocations: 3.688 MB / 438.7 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.03414, allocations: 31.83 kB / 438.7 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.03417, allocations: 27.97 kB / 438.8 MB, free: 5.199 MB / 410.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.000187/0.03436, allocations: 165.7 kB / 438.9 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.03441, allocations: 35.81 kB / 439 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.03657, allocations: 0.8223 MB / 439.8 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.03658, allocations: 4 kB / 439.8 MB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.03658, allocations: 4 kB / 439.8 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.03658, allocations: 3.984 kB / 439.8 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.03706, allocations: 490 kB / 440.3 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03706, allocations: 4 kB / 440.3 MB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.03716, allocations: 47.92 kB / 440.3 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.03901, allocations: 486.2 kB / 440.8 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.03904, allocations: 16 kB / 440.8 MB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1516/0.1906, allocations: 4.875 MB / 445.7 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1906, allocations: 3.75 kB / 445.7 MB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.1929, allocations: 1.117 MB / 446.8 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.193, allocations: 33.69 kB / 446.9 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.193, allocations: 7.188 kB / 446.9 MB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1931, allocations: 14.12 kB / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.1932, allocations: 46.73 kB / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1932, allocations: 19.69 kB / 446.9 MB, free: 67.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1933, allocations: 192.9 kB / 447.1 MB, free: 67.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1933, allocations: 0 / 447.1 MB, free: 67.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.1939, allocations: 237.9 kB / 447.4 MB, free: 67.44 MB / 410.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.0003514/0.1942, allocations: 292.8 kB / 447.6 MB, free: 67.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.1949, allocations: 0.6679 MB / 448.3 MB, free: 67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1949, allocations: 0 / 448.3 MB, free: 67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1953, allocations: 0.5981 MB / 448.9 MB, free: 66.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1957, allocations: 110.5 kB / 449 MB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1967, allocations: 0.987 MB / 450 MB, free: 65.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.1969, allocations: 223.5 kB / 450.2 MB, free: 65.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.197, allocations: 77.72 kB / 450.3 MB, free: 65.91 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.197, allocations: 0 / 450.3 MB, free: 65.91 MB / 410.7 MB Notification: Performance of Templates: time 0.007887/0.2048, allocations: 12.39 MB / 462.7 MB, free: 64.73 MB / 410.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.2857559425756335] Failed to read output from testmodel.py, exit status != 0: 0.21017591282725334 0.216182707 0.201421707 Calling exit ...