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.001617/0.001617, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001878/0.001878, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.363/1.363, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] 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.1308/0.1308, allocations: 17.44 MB / 277.2 MB, free: 15.18 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.002127/0.002127, allocations: 59.91 kB / 412.6 MB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1046, allocations: 59.88 MB / 472.4 MB, free: 9.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004915/0.1096, allocations: 3.219 MB / 475.7 MB, free: 6.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.1154, allocations: 4.242 MB / 479.9 MB, free: 2.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.1157, allocations: 7.938 kB / 479.9 MB, free: 2.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.1161, allocations: 107.1 kB / 480 MB, free: 1.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.1173, allocations: 448.9 kB / 480.4 MB, free: 1.512 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1184, allocations: 0.536 MB / 481 MB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.1192, allocations: 0.5805 MB / 481.6 MB, free: 400 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.1196, allocations: 293 kB / 481.8 MB, free: 104 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2042/0.3238, allocations: 287.7 kB / 482.1 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.3242, allocations: 275.6 kB / 482.4 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.3243, allocations: 51.06 kB / 482.4 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3253, allocations: 453.8 kB / 482.9 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3255, allocations: 119.4 kB / 483 MB, free: 43.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3257, allocations: 229.6 kB / 483.2 MB, free: 43.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3268, allocations: 1.08 MB / 484.3 MB, free: 43.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3268, allocations: 0 / 484.3 MB, free: 43.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3268, allocations: 0 / 484.3 MB, free: 43.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3268, allocations: 1.344 kB / 484.3 MB, free: 43.63 MB / 446.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.001133/0.328, allocations: 0.8033 MB / 485.1 MB, free: 43.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.328, allocations: 9.625 kB / 485.1 MB, free: 43.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.3283, allocations: 94.28 kB / 485.2 MB, free: 43.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.3288, allocations: 312.4 kB / 485.5 MB, free: 42.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.3289, allocations: 42 kB / 485.6 MB, free: 42.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.3289, allocations: 48.81 kB / 485.6 MB, free: 42.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.3295, allocations: 448.3 kB / 486.1 MB, free: 42.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3295, allocations: 3.938 kB / 486.1 MB, free: 42.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.3296, allocations: 22.81 kB / 486.1 MB, free: 42.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3296, allocations: 9.781 kB / 486.1 MB, free: 42.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.3302, allocations: 0.5035 MB / 486.6 MB, free: 42.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.332, allocations: 1.137 MB / 487.7 MB, free: 42.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.3326, allocations: 340.5 kB / 488.1 MB, free: 42.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3328, allocations: 110.3 kB / 488.2 MB, free: 42.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.3344, allocations: 0.8619 MB / 489 MB, free: 42.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.3344, allocations: 37.75 kB / 489.1 MB, free: 42.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.3344, allocations: 0 / 489.1 MB, free: 42.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.01339/0.3478, allocations: 2.127 MB / 491.2 MB, free: 41.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3478, allocations: 54.44 kB / 491.2 MB, free: 41.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.348, allocations: 274 kB / 491.5 MB, free: 41.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3481, allocations: 29.7 kB / 491.5 MB, free: 41.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.3482, allocations: 284.8 kB / 491.8 MB, free: 41.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.3482, allocations: 120.3 kB / 491.9 MB, free: 41.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3484, allocations: 80.81 kB / 492 MB, free: 41.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.3484, allocations: 343.6 kB / 492.4 MB, free: 40.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3486, allocations: 136.7 kB / 492.5 MB, free: 40.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.3489, allocations: 264.9 kB / 492.7 MB, free: 40.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.3493, allocations: 425.1 kB / 493.2 MB, free: 40.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3493, allocations: 3.25 kB / 493.2 MB, free: 40.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003656/0.353, allocations: 0.8134 MB / 494 MB, free: 40.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.353, allocations: 6.812 kB / 494 MB, free: 40.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.353, allocations: 6.438 kB / 494 MB, free: 40.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.3563, allocations: 414.3 kB / 494.4 MB, free: 39.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3565, allocations: 79.5 kB / 494.5 MB, free: 39.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005116/0.3617, allocations: 3.696 MB / 498.2 MB, free: 36.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.362, allocations: 24.94 kB / 498.2 MB, free: 36.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.3621, allocations: 19.19 kB / 498.2 MB, free: 36.96 MB / 446.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.0001976/0.3623, allocations: 174 kB / 498.4 MB, free: 36.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.3623, allocations: 31.09 kB / 498.4 MB, free: 36.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.3669, allocations: 0.8212 MB / 499.2 MB, free: 36.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3669, allocations: 3.281 kB / 499.2 MB, free: 36.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3669, allocations: 0 / 499.2 MB, free: 36.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3669, allocations: 3.656 kB / 499.2 MB, free: 36.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.3675, allocations: 498.8 kB / 499.7 MB, free: 36.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3675, allocations: 3.031 kB / 499.7 MB, free: 36.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3677, allocations: 51.22 kB / 499.8 MB, free: 36.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/0.372, allocations: 482.2 kB / 0.4885 GB, free: 36.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.372, allocations: 20.69 kB / 0.4885 GB, free: 36.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.3775, allocations: 4.878 MB / 0.4933 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3775, allocations: 3.938 kB / 0.4933 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.3823, allocations: 1.12 MB / 0.4944 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3824, allocations: 40.09 kB / 0.4944 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.3824, allocations: 11.94 kB / 0.4945 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.3827, allocations: 10.62 kB / 0.4945 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3828, allocations: 46.8 kB / 0.4945 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.3829, allocations: 20.14 kB / 0.4945 GB, free: 31.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.383, allocations: 183.8 kB / 0.4947 GB, free: 31.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.383, allocations: 0.8438 kB / 0.4947 GB, free: 31.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008393/0.3839, allocations: 238 kB / 0.4949 GB, free: 31.16 MB / 446.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.0004458/0.3843, allocations: 292.4 kB / 0.4952 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3854, allocations: 0.6608 MB / 0.4959 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3854, allocations: 0 / 0.4959 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.3861, allocations: 0.6145 MB / 0.4965 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.3867, allocations: 109.3 kB / 0.4966 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3881, allocations: 1.031 MB / 0.4976 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.3882, allocations: 229.4 kB / 0.4978 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.3885, allocations: 67.09 kB / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.6e-05/0.3885, allocations: 58.34 kB / 0.4979 GB, free: 29.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3885, allocations: 0 / 0.4979 GB, free: 29.44 MB / 446.1 MB Notification: Performance of Templates: time 0.01617/0.4047, allocations: 11.71 MB / 0.5093 GB, free: 28.04 MB / 446.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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.960090497974306] Failed to read output from testmodel.py, exit status != 0: 0.41293424600735307 0.42367100399999996 0.09431494300000001 Calling exit ...