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.001885/0.001885, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002565/0.002565, allocations: 216 kB / 22.25 MB, free: 5.117 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.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.1368/0.1368, allocations: 23.89 MB / 336.3 MB, free: 11.19 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: 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.002039/0.002039, allocations: 60.19 kB / 471.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3016, allocations: 59.87 MB / 0.5191 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004303/0.306, allocations: 3.494 MB / 0.5225 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.311, allocations: 4.807 MB / 0.5272 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.3114, allocations: 8.562 kB / 0.5272 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.3118, allocations: 105.1 kB / 0.5273 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.3129, allocations: 463 kB / 0.5278 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3143, allocations: 0.5358 MB / 0.5283 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009234/0.3152, allocations: 0.5772 MB / 0.5289 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.3157, allocations: 306.8 kB / 0.5292 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.3161, allocations: 292.3 kB / 0.5294 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.3166, allocations: 313.6 kB / 0.5297 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.3167, allocations: 52.22 kB / 0.5298 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.3184, allocations: 477.8 kB / 0.5302 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.3185, allocations: 115.9 kB / 0.5303 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.3188, allocations: 285.1 kB / 0.5306 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.3208, allocations: 1.08 MB / 0.5317 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3208, allocations: 1.281 kB / 0.5317 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3208, allocations: 4.438 kB / 0.5317 GB, free: 1.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.3208, allocations: 0 / 0.5317 GB, free: 1.723 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.00167/0.3225, allocations: 0.8012 MB / 0.5325 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.3226, allocations: 9.312 kB / 0.5325 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/0.323, allocations: 94.52 kB / 0.5326 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.3236, allocations: 310.8 kB / 0.5329 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.3236, allocations: 32.66 kB / 0.5329 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.3237, allocations: 47.06 kB / 0.5329 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.3246, allocations: 462 kB / 0.5334 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3246, allocations: 0 / 0.5334 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.3246, allocations: 20.25 kB / 0.5334 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3246, allocations: 10.53 kB / 0.5334 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.3255, allocations: 0.5101 MB / 0.5339 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.3282, allocations: 1.505 MB / 0.5354 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.329, allocations: 343.8 kB / 0.5357 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3292, allocations: 110.1 kB / 0.5358 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.3313, allocations: 0.9209 MB / 0.5367 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3313, allocations: 40.55 kB / 0.5367 GB, free: 14.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.3313, allocations: 0 / 0.5367 GB, free: 14.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01575/0.3471, allocations: 2.115 MB / 0.5388 GB, free: 14.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3471, allocations: 55.86 kB / 0.5389 GB, free: 14.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.3475, allocations: 304.1 kB / 0.5391 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.3476, allocations: 32.2 kB / 0.5392 GB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.3478, allocations: 270.8 kB / 0.5394 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3479, allocations: 117.3 kB / 0.5395 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.3481, allocations: 85 kB / 0.5396 GB, free: 13.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3482, allocations: 345.5 kB / 0.54 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.3485, allocations: 136.7 kB / 0.5401 GB, free: 13.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.3489, allocations: 260.9 kB / 0.5403 GB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3496, allocations: 429.1 kB / 0.5407 GB, free: 12.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3496, allocations: 1.156 kB / 0.5407 GB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004526/0.3541, allocations: 0.8124 MB / 0.5415 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3541, allocations: 10.75 kB / 0.5416 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3541, allocations: 4.344 kB / 0.5416 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.3581, allocations: 411.7 kB / 0.5419 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.3585, allocations: 78.52 kB / 0.542 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007444/0.366, allocations: 3.781 MB / 0.5457 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.3664, allocations: 17.58 kB / 0.5457 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.3665, allocations: 23.38 kB / 0.5458 GB, free: 9.059 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.000294/0.3668, allocations: 172.4 kB / 0.5459 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3669, allocations: 39.08 kB / 0.546 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005438/0.3723, allocations: 0.8221 MB / 0.5468 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3723, allocations: 3.312 kB / 0.5468 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3723, allocations: 6.094 kB / 0.5468 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3723, allocations: 0 / 0.5468 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/0.3733, allocations: 0.6033 MB / 0.5474 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3733, allocations: 5.5 kB / 0.5474 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3735, allocations: 52.67 kB / 0.5474 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00504/0.3785, allocations: 491.1 kB / 0.5479 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.3786, allocations: 14.44 kB / 0.5479 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007988/0.3866, allocations: 4.988 MB / 0.5528 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.3866, allocations: 6.219 kB / 0.5528 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/0.3924, allocations: 1.118 MB / 0.5539 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3926, allocations: 36.2 kB / 0.5539 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.3926, allocations: 16.55 kB / 0.5539 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.3929, allocations: 8.281 kB / 0.5539 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3931, allocations: 51.27 kB / 0.554 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.3931, allocations: 15.62 kB / 0.554 GB, free: 2.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.3934, allocations: 203 kB / 0.5542 GB, free: 2.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3934, allocations: 0 / 0.5542 GB, free: 2.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009853/0.3944, allocations: 240.4 kB / 0.5544 GB, free: 2.176 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.0005778/0.3949, allocations: 300.6 kB / 0.5547 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3964, allocations: 0.669 MB / 0.5553 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3964, allocations: 1.219 kB / 0.5554 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.3974, allocations: 0.6038 MB / 0.5559 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.3981, allocations: 98.81 kB / 0.556 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4, allocations: 1.047 MB / 0.5571 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.4005, allocations: 0.8254 MB / 0.5579 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.4008, allocations: 78.73 kB / 0.5579 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.4009, allocations: 61.59 kB / 0.558 GB, free: 15.44 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4009, allocations: 4 kB / 0.558 GB, free: 15.44 MB / 414.1 MB Notification: Performance of Templates: time 0.02127/0.4222, allocations: 11.89 MB / 0.5696 GB, free: 5.035 MB / 414.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.351254967972636] Failed to read output from testmodel.py, exit status != 0: 0.43127001309767365 0.446509853 0.122312424 Calling exit ...