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.00135/0.00135, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001481/0.001481, allocations: 211.8 kB / 22.24 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.82 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.1499/0.1499, allocations: 24 MB / 336.4 MB, free: 10.85 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.002032/0.002032, allocations: 64.14 kB / 471.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 59.91 MB / 0.5192 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004498/0.3199, allocations: 3.208 MB / 0.5223 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.3244, allocations: 4.245 MB / 0.5265 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.3246, allocations: 12.25 kB / 0.5265 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.325, allocations: 102.2 kB / 0.5266 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008552/0.3258, allocations: 450.6 kB / 0.527 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3269, allocations: 0.5373 MB / 0.5276 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.3274, allocations: 0.5775 MB / 0.5281 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.3278, allocations: 302.1 kB / 0.5284 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.3281, allocations: 293.8 kB / 0.5287 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.3284, allocations: 272.6 kB / 0.5289 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.3285, allocations: 52.25 kB / 0.529 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008962/0.3294, allocations: 450.8 kB / 0.5294 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3295, allocations: 127 kB / 0.5295 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.3297, allocations: 233.4 kB / 0.5298 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.3311, allocations: 1.078 MB / 0.5308 GB, free: 2.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3311, allocations: 0 / 0.5308 GB, free: 2.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3311, allocations: 0 / 0.5308 GB, free: 2.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3312, allocations: 0 / 0.5308 GB, free: 2.797 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.001285/0.3324, allocations: 0.8044 MB / 0.5316 GB, free: 2.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3325, allocations: 8.438 kB / 0.5316 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.3328, allocations: 89.95 kB / 0.5317 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.3334, allocations: 310.6 kB / 0.532 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.3334, allocations: 32.59 kB / 0.532 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/0.3335, allocations: 46.62 kB / 0.5321 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008581/0.3344, allocations: 459.5 kB / 0.5325 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3344, allocations: 0 / 0.5325 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.3344, allocations: 15.94 kB / 0.5325 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.3345, allocations: 11.03 kB / 0.5325 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.3353, allocations: 0.5045 MB / 0.533 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.3378, allocations: 1.141 MB / 0.5341 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.3386, allocations: 348.7 kB / 0.5345 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.3388, allocations: 101.2 kB / 0.5346 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/0.3409, allocations: 0.8712 MB / 0.5354 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.3409, allocations: 41.56 kB / 0.5355 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.3409, allocations: 0 / 0.5355 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01337/0.3543, allocations: 2.117 MB / 0.5375 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3543, allocations: 55.16 kB / 0.5376 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.3547, allocations: 275.1 kB / 0.5378 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.3547, allocations: 32.16 kB / 0.5379 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.3549, allocations: 279.6 kB / 0.5381 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.355, allocations: 122.8 kB / 0.5383 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3552, allocations: 84.5 kB / 0.5383 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3554, allocations: 344.6 kB / 0.5387 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3556, allocations: 131.9 kB / 0.5388 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.356, allocations: 264.2 kB / 0.539 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.3566, allocations: 424.5 kB / 0.5395 GB, free: 13.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3566, allocations: 1.188 kB / 0.5395 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00379/0.3604, allocations: 0.8165 MB / 0.5403 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3605, allocations: 9.453 kB / 0.5403 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3605, allocations: 8.281 kB / 0.5403 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.3637, allocations: 407.8 kB / 0.5407 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.364, allocations: 78.19 kB / 0.5407 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006646/0.3707, allocations: 3.706 MB / 0.5443 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.371, allocations: 20.73 kB / 0.5444 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.3711, allocations: 23.25 kB / 0.5444 GB, free: 10.54 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.0002698/0.3714, allocations: 165.6 kB / 0.5445 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.3715, allocations: 29.78 kB / 0.5446 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/0.3761, allocations: 0.8185 MB / 0.5454 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3761, allocations: 3.938 kB / 0.5454 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3761, allocations: 5.906 kB / 0.5454 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3761, allocations: 9.141 kB / 0.5454 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008209/0.377, allocations: 0.4944 MB / 0.5459 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.377, allocations: 1.875 kB / 0.5459 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.3771, allocations: 49.03 kB / 0.5459 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004216/0.3814, allocations: 485.2 kB / 0.5464 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.3814, allocations: 14.78 kB / 0.5464 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.3887, allocations: 4.884 MB / 0.5512 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3887, allocations: 2.625 kB / 0.5512 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/0.3936, allocations: 1.117 MB / 0.5523 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3937, allocations: 31.05 kB / 0.5523 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.3938, allocations: 16.55 kB / 0.5523 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.3941, allocations: 8.938 kB / 0.5523 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3942, allocations: 43.48 kB / 0.5524 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.3942, allocations: 20.88 kB / 0.5524 GB, free: 4.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.3945, allocations: 185.3 kB / 0.5526 GB, free: 4.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3945, allocations: 1.031 kB / 0.5526 GB, free: 4.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009246/0.3954, allocations: 243.4 kB / 0.5528 GB, free: 4.02 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.0005166/0.3959, allocations: 287.8 kB / 0.5531 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3972, allocations: 0.6575 MB / 0.5537 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.3973, allocations: 1.125 kB / 0.5537 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.3982, allocations: 0.6144 MB / 0.5543 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.3988, allocations: 108.1 kB / 0.5544 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4006, allocations: 1.034 MB / 0.5554 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.4008, allocations: 223.3 kB / 0.5556 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.4011, allocations: 73.34 kB / 0.5557 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.4012, allocations: 61.89 kB / 0.5558 GB, free: 1.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4012, allocations: 0 / 0.5558 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Templates: time 0.02068/0.4219, allocations: 12.28 MB / 0.5678 GB, free: 6.973 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.268785696476698] Failed to read output from testmodel.py, exit status != 0: 0.4306038171052933 0.444689338 0.110515177 Calling exit ...