Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0008133/0.0008133, allocations: 76.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0007514/0.0007514, allocations: 169.9 kB / 23.18 MB, free: 1.379 MB / 18.57 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 0.9891/0.9891, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08824/0.08824, allocations: 17.38 MB / 277.4 MB, free: 11.88 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.0008722/0.0008722, allocations: 71.84 kB / 412.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.291, allocations: 59.83 MB / 472.6 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003637/0.2946, allocations: 3.211 MB / 475.8 MB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.2981, allocations: 4.248 MB / 480.1 MB, free: 24.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.2985, allocations: 10.78 kB / 480.1 MB, free: 24.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.2989, allocations: 102.3 kB / 480.2 MB, free: 24.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3, allocations: 446.8 kB / 480.6 MB, free: 24.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3011, allocations: 0.5365 MB / 481.2 MB, free: 24.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.3018, allocations: 0.5824 MB / 481.8 MB, free: 23.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.3021, allocations: 295.9 kB / 482.1 MB, free: 23.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.3025, allocations: 434.4 kB / 482.5 MB, free: 23.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.3028, allocations: 267.1 kB / 482.7 MB, free: 23.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.3029, allocations: 54.19 kB / 482.8 MB, free: 23.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3039, allocations: 449 kB / 483.2 MB, free: 23.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.304, allocations: 131.5 kB / 483.4 MB, free: 23.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3042, allocations: 231.4 kB / 483.6 MB, free: 23.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3056, allocations: 1.084 MB / 484.7 MB, free: 22.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3056, allocations: 0 / 484.7 MB, free: 22.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3056, allocations: 0 / 484.7 MB, free: 22.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.3057, allocations: 0 / 484.7 MB, free: 22.64 MB / 410.7 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.00123/0.3069, allocations: 0.8014 MB / 485.5 MB, free: 22.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3069, allocations: 9.344 kB / 485.5 MB, free: 22.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.3072, allocations: 97.72 kB / 485.6 MB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.3077, allocations: 316.7 kB / 485.9 MB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3077, allocations: 33.16 kB / 485.9 MB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.3078, allocations: 46.38 kB / 486 MB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.3083, allocations: 458.5 kB / 486.4 MB, free: 21.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3084, allocations: 0 / 486.4 MB, free: 21.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3084, allocations: 18.69 kB / 486.4 MB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3084, allocations: 13.88 kB / 486.4 MB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.309, allocations: 0.505 MB / 486.9 MB, free: 21.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.3109, allocations: 1.124 MB / 488.1 MB, free: 20.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.3114, allocations: 348.9 kB / 488.4 MB, free: 20.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3116, allocations: 102.6 kB / 488.5 MB, free: 20.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.3131, allocations: 0.8706 MB / 489.4 MB, free: 20.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3131, allocations: 37.25 kB / 489.4 MB, free: 20.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.3131, allocations: 4 kB / 489.4 MB, free: 20.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.007455/0.3206, allocations: 2.118 MB / 491.5 MB, free: 19.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3206, allocations: 54.7 kB / 491.6 MB, free: 19.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3209, allocations: 272.3 kB / 491.9 MB, free: 19.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3209, allocations: 30.86 kB / 491.9 MB, free: 19.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.321, allocations: 288.5 kB / 492.2 MB, free: 18.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.3211, allocations: 114.7 kB / 492.3 MB, free: 18.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3212, allocations: 85.17 kB / 492.4 MB, free: 18.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.3213, allocations: 347 kB / 492.7 MB, free: 18.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3215, allocations: 137.8 kB / 492.8 MB, free: 18.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3217, allocations: 264.4 kB / 493.1 MB, free: 18.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.3222, allocations: 420.4 kB / 493.5 MB, free: 17.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3222, allocations: 1.438 kB / 493.5 MB, free: 17.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002191/0.3244, allocations: 0.8168 MB / 494.3 MB, free: 17.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3244, allocations: 5.25 kB / 494.3 MB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3244, allocations: 9.219 kB / 494.3 MB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.3261, allocations: 407.7 kB / 494.7 MB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3263, allocations: 78 kB / 494.8 MB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/0.3308, allocations: 3.708 MB / 498.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.3313, allocations: 16 kB / 498.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.3314, allocations: 22.83 kB / 498.6 MB, free: 14.39 MB / 410.7 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.0003784/0.3317, allocations: 169.4 kB / 498.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3319, allocations: 30.56 kB / 498.8 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.3348, allocations: 0.8223 MB / 499.6 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3348, allocations: 3.344 kB / 499.6 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3348, allocations: 6.969 kB / 499.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.3348, allocations: 9.438 kB / 499.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.3358, allocations: 492.5 kB / 0.4884 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.3358, allocations: 2.219 kB / 0.4884 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3359, allocations: 49.89 kB / 0.4884 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.3384, allocations: 486.2 kB / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.3385, allocations: 16.2 kB / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/0.3438, allocations: 4.892 MB / 0.4937 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.3438, allocations: 1.594 kB / 0.4937 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.3474, allocations: 1.112 MB / 0.4947 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3477, allocations: 33.95 kB / 0.4948 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.3477, allocations: 12.73 kB / 0.4948 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3479, allocations: 8.281 kB / 0.4948 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.3481, allocations: 44.36 kB / 0.4948 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.3482, allocations: 18.52 kB / 0.4949 GB, free: 8.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3485, allocations: 186 kB / 0.495 GB, free: 8.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3485, allocations: 0 / 0.495 GB, free: 8.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00144/0.3499, allocations: 239.5 kB / 0.4953 GB, free: 8.461 MB / 410.7 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.0007772/0.3507, allocations: 298.2 kB / 0.4956 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.3523, allocations: 0.6604 MB / 0.4962 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.3523, allocations: 0.875 kB / 0.4962 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.3532, allocations: 0.6082 MB / 0.4968 GB, free: 7.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.354, allocations: 118 kB / 0.4969 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3563, allocations: 1.031 MB / 0.4979 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3567, allocations: 222.9 kB / 0.4981 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.3571, allocations: 73.56 kB / 0.4982 GB, free: 6.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3572, allocations: 66.75 kB / 0.4983 GB, free: 6.625 MB / 410.7 MB Notification: Performance of SimCode: time 3.326e-06/0.3572, allocations: 3.938 kB / 0.4983 GB, free: 6.621 MB / 410.7 MB Notification: Performance of Templates: time 0.02306/0.3803, allocations: 11.73 MB / 0.5097 GB, free: 0.9883 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.500353622948751] Failed to read output from testmodel.py, exit status != 0: 0.38794404303189367 0.39741100199999996 0.089757481 Calling exit ...