Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001374/0.001374, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001558/0.001558, allocations: 211.6 kB / 23.01 MB, free: 4.566 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1383/0.1383, allocations: 23.85 MB / 337 MB, free: 11.2 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 75.86 kB / 472.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 59.86 MB / 0.5198 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003947/0.317, allocations: 3.499 MB / 0.5232 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.3216, allocations: 4.799 MB / 0.5279 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.322, allocations: 12.69 kB / 0.5279 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.3224, allocations: 113.8 kB / 0.528 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009989/0.3234, allocations: 451 kB / 0.5284 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3245, allocations: 0.5352 MB / 0.529 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.3251, allocations: 0.5898 MB / 0.5295 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.3255, allocations: 306 kB / 0.5298 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.3257, allocations: 292.3 kB / 0.5301 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.3262, allocations: 303.9 kB / 0.5304 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-05/0.3262, allocations: 52.28 kB / 0.5305 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.3273, allocations: 480.2 kB / 0.5309 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3274, allocations: 127.8 kB / 0.531 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.3277, allocations: 276 kB / 0.5313 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3291, allocations: 1.082 MB / 0.5324 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3291, allocations: 0 / 0.5324 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3291, allocations: 0.6562 kB / 0.5324 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3292, allocations: 0 / 0.5324 GB, free: 1.754 MB / 382.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.001351/0.3305, allocations: 0.809 MB / 0.5331 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3305, allocations: 9.906 kB / 0.5332 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.3309, allocations: 94.27 kB / 0.5332 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.3314, allocations: 305.1 kB / 0.5335 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.3314, allocations: 37.06 kB / 0.5336 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.3315, allocations: 47.69 kB / 0.5336 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.3322, allocations: 453.6 kB / 0.534 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3322, allocations: 0 / 0.534 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.3323, allocations: 20.56 kB / 0.5341 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3323, allocations: 11.56 kB / 0.5341 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/0.3331, allocations: 0.5084 MB / 0.5346 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.3354, allocations: 1.503 MB / 0.536 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.3361, allocations: 345.8 kB / 0.5364 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3363, allocations: 103.6 kB / 0.5365 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002066/0.3384, allocations: 0.921 MB / 0.5374 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3384, allocations: 32.09 kB / 0.5374 GB, free: 14.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3384, allocations: 3.938 kB / 0.5374 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01534/0.3538, allocations: 2.118 MB / 0.5395 GB, free: 14.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3538, allocations: 55.38 kB / 0.5395 GB, free: 14.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.3542, allocations: 295.4 kB / 0.5398 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.3542, allocations: 31.98 kB / 0.5398 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3544, allocations: 275 kB / 0.5401 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3545, allocations: 118.3 kB / 0.5402 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.3547, allocations: 84.23 kB / 0.5403 GB, free: 13.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3549, allocations: 348.2 kB / 0.5406 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.3552, allocations: 136.8 kB / 0.5408 GB, free: 13.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.3555, allocations: 261.6 kB / 0.541 GB, free: 12.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.3562, allocations: 424 kB / 0.5414 GB, free: 12.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3562, allocations: 1.156 kB / 0.5414 GB, free: 12.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004535/0.3607, allocations: 0.8202 MB / 0.5422 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.3607, allocations: 16.42 kB / 0.5422 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3608, allocations: 4.188 kB / 0.5422 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/0.3646, allocations: 404.4 kB / 0.5426 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.3649, allocations: 77.72 kB / 0.5427 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/0.372, allocations: 3.786 MB / 0.5464 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.3724, allocations: 15.92 kB / 0.5464 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.3725, allocations: 22.78 kB / 0.5464 GB, free: 9.09 MB / 398.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.0002617/0.3728, allocations: 168.2 kB / 0.5466 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3729, allocations: 39.83 kB / 0.5466 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/0.3782, allocations: 0.8195 MB / 0.5474 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3782, allocations: 4.781 kB / 0.5474 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3782, allocations: 9.594 kB / 0.5474 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3782, allocations: 1.641 kB / 0.5474 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.3792, allocations: 0.6142 MB / 0.548 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3792, allocations: 2.219 kB / 0.548 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.3794, allocations: 51.64 kB / 0.5481 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004947/0.3843, allocations: 492.3 kB / 0.5486 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.3844, allocations: 23.69 kB / 0.5486 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007985/0.3923, allocations: 4.986 MB / 0.5535 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3923, allocations: 3 kB / 0.5535 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/0.398, allocations: 1.121 MB / 0.5546 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3981, allocations: 32.2 kB / 0.5546 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.3982, allocations: 16.23 kB / 0.5546 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.3985, allocations: 8.312 kB / 0.5546 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.3986, allocations: 47.92 kB / 0.5547 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.3987, allocations: 19.5 kB / 0.5547 GB, free: 2.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.3989, allocations: 206.7 kB / 0.5549 GB, free: 2.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3989, allocations: 0 / 0.5549 GB, free: 2.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009637/0.3999, allocations: 236.7 kB / 0.5551 GB, free: 2.211 MB / 398.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.0006503/0.4005, allocations: 301.5 kB / 0.5554 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.402, allocations: 0.6609 MB / 0.556 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.402, allocations: 0 / 0.556 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.403, allocations: 0.6005 MB / 0.5566 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.4037, allocations: 111.7 kB / 0.5567 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.4057, allocations: 1.063 MB / 0.5578 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.4062, allocations: 0.829 MB / 0.5586 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.4064, allocations: 67.53 kB / 0.5586 GB, free: 15.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4064, allocations: 0 / 0.5586 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Templates: time 0.0179/0.4243, allocations: 12.24 MB / 0.5706 GB, free: 4.773 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.738408999051899] Failed to read output from testmodel.py, exit status != 0: 0.4335284100379795 0.448638646 0.11636845599999994 Calling exit ...