Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.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.001804/0.001804, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.002245/0.002245, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.488/1.488, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.1345/0.1345, allocations: 17.37 MB / 276.6 MB, free: 15.3 MB / 270.1 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.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 411.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.309e-05, allocations: 5.375 kB / 411.9 MB, free: 4.457 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.03745/0.03748, allocations: 26.14 MB / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.04872, allocations: 7.238 MB / 445.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.0495, allocations: 19.88 kB / 445.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.05191, allocations: 0.738 MB / 446.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.05343, allocations: 0.5739 MB / 446.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.05526, allocations: 0.7536 MB / 447.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2067/0.262, allocations: 1.158 MB / 448.6 MB, free: 32.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.2624, allocations: 152.5 kB / 448.7 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.2633, allocations: 0.5448 MB / 449.3 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.2637, allocations: 311.4 kB / 449.6 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.2639, allocations: 82.97 kB / 449.6 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.2673, allocations: 0.9573 MB / 450.6 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.2676, allocations: 273.7 kB / 450.9 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.268, allocations: 332.1 kB / 451.2 MB, free: 32.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.2728, allocations: 2.34 MB / 453.5 MB, free: 32.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2728, allocations: 0 / 453.5 MB, free: 32.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2728, allocations: 1.062 kB / 453.5 MB, free: 32.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.2728, allocations: 0 / 453.5 MB, free: 32.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002522/0.2754, allocations: 1.392 MB / 454.9 MB, free: 31.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2754, allocations: 8.75 kB / 454.9 MB, free: 31.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007251/0.2761, allocations: 218.7 kB / 455.1 MB, free: 31.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.277, allocations: 0.5376 MB / 455.7 MB, free: 31.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.2772, allocations: 175.9 kB / 455.8 MB, free: 30.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2774, allocations: 86.19 kB / 455.9 MB, free: 30.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.2818, allocations: 3.793 MB / 459.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2818, allocations: 2.031 kB / 459.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.2819, allocations: 38.52 kB / 459.8 MB, free: 29.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.282, allocations: 149.3 kB / 459.9 MB, free: 29.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00716/0.2892, allocations: 6.747 MB / 466.7 MB, free: 26.93 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.3003, allocations: 8.719 MB / 475.4 MB, free: 22.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.3022, allocations: 1.738 MB / 477.1 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.3036, allocations: 1.343 MB / 478.5 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/0.3053, allocations: 0.6435 MB / 479.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3053, allocations: 37.94 kB / 479.1 MB, free: 18.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.765e-06/0.3053, allocations: 0 / 479.1 MB, free: 18.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.05088/0.3562, allocations: 15.26 MB / 494.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07473/0.4309, allocations: 21.97 MB / 0.5043 GB, free: 13.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009395/0.4318, allocations: 0.625 MB / 0.5049 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.4322, allocations: 41.64 kB / 0.5049 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.4326, allocations: 0.5408 MB / 0.5054 GB, free: 12.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/0.4331, allocations: 241.8 kB / 0.5057 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008169/0.4339, allocations: 266.5 kB / 0.5059 GB, free: 11.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4341, allocations: 387.7 kB / 0.5063 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/0.4379, allocations: 2.422 MB / 0.5087 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/0.4416, allocations: 2.558 MB / 0.5112 GB, free: 6.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005433/0.447, allocations: 3.35 MB / 0.5144 GB, free: 3.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.447, allocations: 0 / 0.5144 GB, free: 3.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01792/0.4649, allocations: 6.783 MB / 0.5211 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.465, allocations: 8 kB / 0.5211 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.465, allocations: 6.688 kB / 0.5211 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/0.4802, allocations: 3.463 MB / 0.5245 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.4827, allocations: 317.3 kB / 0.5248 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/0.5076, allocations: 13.28 MB / 0.5377 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5095, allocations: 90.58 kB / 0.5378 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000493/0.51, allocations: 179.8 kB / 0.538 GB, free: 10.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.5111, allocations: 331.2 kB / 0.5383 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.5116, allocations: 75.53 kB / 0.5384 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.5264, allocations: 4.423 MB / 0.5427 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0128/0.5392, allocations: 3.672 MB / 0.5463 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.5392, allocations: 0 / 0.5463 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.5393, allocations: 3.984 kB / 0.5463 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/0.5581, allocations: 6.853 MB / 0.553 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/0.5581, allocations: 3.75 kB / 0.553 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/0.56, allocations: 179.6 kB / 0.5531 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03193/0.592, allocations: 3.753 MB / 0.5568 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002969/0.5923, allocations: 43.95 kB / 0.5569 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.6068, allocations: 6.322 MB / 0.563 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06439/0.6712, allocations: 14.26 MB / 0.577 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.6869, allocations: 5.67 MB / 0.5825 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.6873, allocations: 83.47 kB / 0.5826 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.6877, allocations: 16 kB / 0.5826 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.6892, allocations: 59.91 kB / 0.5826 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000472/0.6897, allocations: 98.11 kB / 0.5827 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/0.6899, allocations: 83.94 kB / 0.5828 GB, free: 12.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.691, allocations: 0.6969 MB / 0.5835 GB, free: 12.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.691, allocations: 0 / 0.5835 GB, free: 12.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002482/0.6935, allocations: 0.5738 MB / 0.5841 GB, free: 11.45 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.6947, allocations: 374.7 kB / 0.5844 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007053/0.7017, allocations: 3.67 MB / 0.588 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7017, allocations: 4 kB / 0.588 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/0.7055, allocations: 1.454 MB / 0.5894 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.7068, allocations: 194.1 kB / 0.5896 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/0.7132, allocations: 2.954 MB / 0.5925 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.714, allocations: 0.5316 MB / 0.593 GB, free: 2.293 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.7152, allocations: 268 kB / 0.5933 GB, free: 2.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007952/0.716, allocations: 104.4 kB / 0.5934 GB, free: 1.969 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.716, allocations: 0 / 0.5934 GB, free: 1.969 MB / 478.1 MB Notification: Performance of Templates: time 0.255/0.971, allocations: 49.49 MB / 0.6417 GB, free: 175.8 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2688646055758] Failed to read output from testmodel.py, exit status != 0: 0.980592142790556 0.991153269 0.714758803 Calling exit ...