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.001338/0.001338, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001608/0.001608, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1335/0.1335, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.00203/0.00203, allocations: 67.89 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 59.87 MB / 0.5198 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004201/0.3159, allocations: 3.216 MB / 0.523 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.3207, allocations: 4.253 MB / 0.5271 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.321, allocations: 8.406 kB / 0.5271 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.3215, allocations: 98.47 kB / 0.5272 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3226, allocations: 450.3 kB / 0.5276 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.324, allocations: 0.5322 MB / 0.5282 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.3248, allocations: 0.5852 MB / 0.5287 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.3252, allocations: 303.5 kB / 0.529 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3255, allocations: 296.2 kB / 0.5293 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.3259, allocations: 300.9 kB / 0.5296 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.326, allocations: 56.97 kB / 0.5296 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3272, allocations: 466.3 kB / 0.5301 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3273, allocations: 123 kB / 0.5302 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3275, allocations: 237.3 kB / 0.5304 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.3293, allocations: 1.081 MB / 0.5315 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3293, allocations: 0.5156 kB / 0.5315 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3293, allocations: 1.062 kB / 0.5315 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3294, allocations: 0 / 0.5315 GB, free: 2.637 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.001415/0.3308, allocations: 0.8023 MB / 0.5323 GB, free: 2.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3308, allocations: 9.531 kB / 0.5323 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.3312, allocations: 90.97 kB / 0.5324 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.3317, allocations: 306.2 kB / 0.5327 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3318, allocations: 35.75 kB / 0.5327 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.3319, allocations: 43.44 kB / 0.5327 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.3326, allocations: 458.9 kB / 0.5332 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3327, allocations: 0 / 0.5332 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.3327, allocations: 15.81 kB / 0.5332 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3327, allocations: 11.84 kB / 0.5332 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.3335, allocations: 0.507 MB / 0.5337 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.3355, allocations: 1.143 MB / 0.5348 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.3362, allocations: 344.2 kB / 0.5351 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3364, allocations: 106 kB / 0.5352 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.3383, allocations: 0.8719 MB / 0.5361 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.3383, allocations: 36.28 kB / 0.5361 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.542e-06/0.3383, allocations: 0 / 0.5361 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01668/0.355, allocations: 2.113 MB / 0.5382 GB, free: 15.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3551, allocations: 53.97 kB / 0.5382 GB, free: 15.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.3554, allocations: 280.7 kB / 0.5385 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.3555, allocations: 30.39 kB / 0.5385 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.3557, allocations: 281.2 kB / 0.5388 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.3558, allocations: 122.4 kB / 0.5389 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.356, allocations: 80.53 kB / 0.539 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3562, allocations: 344.4 kB / 0.5393 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.3564, allocations: 132.7 kB / 0.5395 GB, free: 14.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3568, allocations: 263.8 kB / 0.5397 GB, free: 14.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.3575, allocations: 428.8 kB / 0.5401 GB, free: 13.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3575, allocations: 1.5 kB / 0.5401 GB, free: 13.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004536/0.362, allocations: 0.815 MB / 0.5409 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.362, allocations: 7.641 kB / 0.5409 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.362, allocations: 11.38 kB / 0.5409 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/0.3662, allocations: 411.9 kB / 0.5413 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.3665, allocations: 79.5 kB / 0.5414 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.3735, allocations: 3.691 MB / 0.545 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.374, allocations: 16 kB / 0.545 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.374, allocations: 21.94 kB / 0.545 GB, free: 10.39 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.0003109/0.3744, allocations: 171.4 kB / 0.5452 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3745, allocations: 31.27 kB / 0.5452 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/0.3802, allocations: 0.8324 MB / 0.546 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3802, allocations: 7.938 kB / 0.5461 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3802, allocations: 2.875 kB / 0.5461 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3802, allocations: 5.344 kB / 0.5461 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.3811, allocations: 489.2 kB / 0.5465 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3811, allocations: 2.656 kB / 0.5465 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.3813, allocations: 50.38 kB / 0.5466 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/0.3866, allocations: 493.3 kB / 0.547 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.3866, allocations: 15.36 kB / 0.5471 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007962/0.3946, allocations: 4.888 MB / 0.5518 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3946, allocations: 2.25 kB / 0.5518 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/0.4005, allocations: 1.113 MB / 0.5529 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.4007, allocations: 34.02 kB / 0.553 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.4008, allocations: 9.219 kB / 0.553 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.4011, allocations: 8.438 kB / 0.553 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.4013, allocations: 48.2 kB / 0.553 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.4013, allocations: 16.61 kB / 0.553 GB, free: 4.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002398/0.4015, allocations: 190 kB / 0.5532 GB, free: 3.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4015, allocations: 4.156 kB / 0.5532 GB, free: 3.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001169/0.4027, allocations: 239.4 kB / 0.5534 GB, free: 3.914 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.00071/0.4034, allocations: 292.9 kB / 0.5537 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4049, allocations: 0.6626 MB / 0.5544 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.4049, allocations: 0 / 0.5544 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.406, allocations: 0.6066 MB / 0.555 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.4067, allocations: 103.6 kB / 0.5551 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.4086, allocations: 1.046 MB / 0.5561 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.4088, allocations: 219.3 kB / 0.5563 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.4091, allocations: 73.62 kB / 0.5564 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.4092, allocations: 57.58 kB / 0.5564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4092, allocations: 0 / 0.5564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of Templates: time 0.02132/0.4306, allocations: 12.43 MB / 0.5686 GB, free: 6.738 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.063298118999228] Failed to read output from testmodel.py, exit status != 0: 0.4398862649977673 0.45465913399999996 0.122054882 Calling exit ...