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.001656/0.001656, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002112/0.002112, allocations: 213.2 kB / 22.99 MB, free: 4.953 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1437/0.1437, allocations: 23.92 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.002037/0.002037, allocations: 63.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3674, allocations: 59.86 MB / 0.5198 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004137/0.3716, allocations: 3.22 MB / 0.523 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005084/0.3766, allocations: 4.25 MB / 0.5271 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.3771, allocations: 12.59 kB / 0.5271 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.3776, allocations: 97.45 kB / 0.5272 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3788, allocations: 452.2 kB / 0.5276 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3803, allocations: 0.5315 MB / 0.5282 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007793/0.3811, allocations: 0.5846 MB / 0.5287 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.3816, allocations: 303.1 kB / 0.529 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.3819, allocations: 293.3 kB / 0.5293 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.3823, allocations: 309.2 kB / 0.5296 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.105e-05/0.3824, allocations: 52.81 kB / 0.5296 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.3837, allocations: 457.3 kB / 0.5301 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3838, allocations: 127.2 kB / 0.5302 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.384, allocations: 233.2 kB / 0.5304 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.386, allocations: 1.079 MB / 0.5315 GB, free: 2.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.386, allocations: 0 / 0.5315 GB, free: 2.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.386, allocations: 0 / 0.5315 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.386, allocations: 0 / 0.5315 GB, free: 2.582 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.001442/0.3874, allocations: 0.8017 MB / 0.5323 GB, free: 2.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3875, allocations: 10.7 kB / 0.5323 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.3878, allocations: 94.22 kB / 0.5324 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.3884, allocations: 309.8 kB / 0.5327 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.3884, allocations: 32.41 kB / 0.5327 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.3885, allocations: 48.42 kB / 0.5327 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.3892, allocations: 456.9 kB / 0.5332 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3893, allocations: 1.531 kB / 0.5332 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.3893, allocations: 18.53 kB / 0.5332 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3893, allocations: 15.94 kB / 0.5332 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008291/0.3901, allocations: 0.5035 MB / 0.5337 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.3921, allocations: 1.138 MB / 0.5348 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.3928, allocations: 341.3 kB / 0.5351 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.393, allocations: 102.3 kB / 0.5352 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.3948, allocations: 0.8795 MB / 0.5361 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3948, allocations: 36.69 kB / 0.5361 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3948, allocations: 0 / 0.5361 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01316/0.408, allocations: 2.108 MB / 0.5382 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.408, allocations: 55 kB / 0.5382 GB, free: 15.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.4084, allocations: 275.7 kB / 0.5385 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.4085, allocations: 30.89 kB / 0.5385 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.4087, allocations: 288.3 kB / 0.5388 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4088, allocations: 119.2 kB / 0.5389 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.409, allocations: 80.05 kB / 0.539 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4092, allocations: 344.6 kB / 0.5393 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.4094, allocations: 136.4 kB / 0.5395 GB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.4098, allocations: 263.9 kB / 0.5397 GB, free: 14.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.4105, allocations: 424.8 kB / 0.5401 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4105, allocations: 5.594 kB / 0.5401 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003783/0.4142, allocations: 0.8107 MB / 0.5409 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4143, allocations: 8.359 kB / 0.5409 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4143, allocations: 7.625 kB / 0.5409 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.4175, allocations: 416.6 kB / 0.5413 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.4178, allocations: 78.09 kB / 0.5414 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.4241, allocations: 3.698 MB / 0.545 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.4245, allocations: 17.55 kB / 0.545 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.4245, allocations: 23.17 kB / 0.545 GB, free: 10.32 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.0002957/0.4248, allocations: 165.1 kB / 0.5452 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4249, allocations: 33.97 kB / 0.5452 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.4294, allocations: 0.8258 MB / 0.546 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4294, allocations: 3.875 kB / 0.546 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4294, allocations: 1.922 kB / 0.546 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4294, allocations: 5.391 kB / 0.5461 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000817/0.4302, allocations: 494.3 kB / 0.5465 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4302, allocations: 2.281 kB / 0.5465 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.4304, allocations: 50.75 kB / 0.5466 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004221/0.4346, allocations: 492.1 kB / 0.547 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.4347, allocations: 19.72 kB / 0.5471 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007266/0.4419, allocations: 4.88 MB / 0.5518 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.4419, allocations: 6.188 kB / 0.5518 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/0.4469, allocations: 1.114 MB / 0.5529 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.447, allocations: 30.61 kB / 0.553 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.4471, allocations: 13.39 kB / 0.553 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4474, allocations: 12.3 kB / 0.553 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4475, allocations: 43.83 kB / 0.553 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.4475, allocations: 20.48 kB / 0.553 GB, free: 4.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4478, allocations: 190.2 kB / 0.5532 GB, free: 3.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4478, allocations: 0 / 0.5532 GB, free: 3.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4488, allocations: 239.5 kB / 0.5534 GB, free: 3.855 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.0006005/0.4494, allocations: 287.3 kB / 0.5537 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.4508, allocations: 0.6609 MB / 0.5544 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4508, allocations: 0 / 0.5544 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009493/0.4518, allocations: 0.6191 MB / 0.555 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.4525, allocations: 103.2 kB / 0.5551 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.4544, allocations: 1.072 MB / 0.5561 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.4546, allocations: 227.5 kB / 0.5563 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4548, allocations: 66.45 kB / 0.5564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4548, allocations: 3.938 kB / 0.5564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Templates: time 0.01803/0.4728, allocations: 12.35 MB / 0.5685 GB, free: 6.773 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: 9.227352807996795] Failed to read output from testmodel.py, exit status != 0: 0.48202083102660254 0.497060407 0.107676349 Calling exit ...