Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001347/0.001347, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001647/0.001647, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 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.1456/0.1456, allocations: 23.99 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.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.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.002216/0.002216, allocations: 67.84 kB / 471.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3468, allocations: 59.89 MB / 0.5192 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.07469/0.4215, allocations: 25.94 MB / 0.5445 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4347, allocations: 7.508 MB / 0.5519 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.4358, allocations: 19.88 kB / 0.5519 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.4382, allocations: 0.676 MB / 0.5525 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.4399, allocations: 0.5958 MB / 0.5531 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.4422, allocations: 0.7924 MB / 0.5539 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.444, allocations: 1.148 MB / 0.555 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.4443, allocations: 157.7 kB / 0.5552 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/0.445, allocations: 402.5 kB / 0.5556 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.4461, allocations: 496.3 kB / 0.556 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.4464, allocations: 80 kB / 0.5561 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.4489, allocations: 0.9398 MB / 0.557 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004348/0.4493, allocations: 255.7 kB / 0.5573 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007413/0.4501, allocations: 413.9 kB / 0.5577 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.4542, allocations: 2.284 MB / 0.5599 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4542, allocations: 4 kB / 0.5599 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4542, allocations: 0 / 0.5599 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.176e-05/0.4543, allocations: 0.5625 kB / 0.5599 GB, free: 15.87 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003314/0.4576, allocations: 1.406 MB / 0.5613 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4576, allocations: 8.031 kB / 0.5613 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.4582, allocations: 200 kB / 0.5615 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.4591, allocations: 0.5053 MB / 0.562 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.4592, allocations: 129.9 kB / 0.5621 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.4594, allocations: 84.38 kB / 0.5622 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.4631, allocations: 3.218 MB / 0.5653 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.4632, allocations: 0 / 0.5653 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.4632, allocations: 36 kB / 0.5653 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.4634, allocations: 130 kB / 0.5655 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/0.47, allocations: 6.241 MB / 0.5716 GB, free: 3.961 MB / 414.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.007312/0.4773, allocations: 4.668 MB / 0.5761 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.478, allocations: 406.5 kB / 0.5765 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.4784, allocations: 248.8 kB / 0.5767 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00425/0.4827, allocations: 2.165 MB / 0.5789 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4827, allocations: 30.84 kB / 0.5789 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.4827, allocations: 0 / 0.5789 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.01674/0.4995, allocations: 3.949 MB / 0.5827 GB, free: 8.285 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4995, allocations: 55.41 kB / 0.5828 GB, free: 8.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5005, allocations: 0.7229 MB / 0.5835 GB, free: 7.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.5006, allocations: 33.7 kB / 0.5835 GB, free: 7.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.5011, allocations: 0.6396 MB / 0.5842 GB, free: 6.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.5013, allocations: 170.5 kB / 0.5843 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.5017, allocations: 230.5 kB / 0.5845 GB, free: 6.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.5019, allocations: 386.8 kB / 0.5849 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.5024, allocations: 293.9 kB / 0.5852 GB, free: 5.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.5032, allocations: 0.6535 MB / 0.5858 GB, free: 4.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.5047, allocations: 1.038 MB / 0.5868 GB, free: 3.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5047, allocations: 4 kB / 0.5868 GB, free: 3.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004972/0.5097, allocations: 1.505 MB / 0.5883 GB, free: 2.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.5097, allocations: 15.94 kB / 0.5883 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5097, allocations: 15.98 kB / 0.5883 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004418/0.5142, allocations: 0.6466 MB / 0.589 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.5156, allocations: 359.6 kB / 0.5893 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.5197, allocations: 2.831 MB / 0.5921 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.5204, allocations: 44.03 kB / 0.5921 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.5206, allocations: 132 kB / 0.5923 GB, free: 13.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007798/0.5213, allocations: 349.9 kB / 0.5926 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.5215, allocations: 83.47 kB / 0.5927 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/0.5269, allocations: 1.424 MB / 0.5941 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5269, allocations: 4 kB / 0.5941 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5269, allocations: 4 kB / 0.5941 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.5269, allocations: 7.984 kB / 0.5941 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.5283, allocations: 0.8582 MB / 0.5949 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.5283, allocations: 7.938 kB / 0.5949 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.5296, allocations: 252 kB / 0.5952 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/0.5338, allocations: 0.5447 MB / 0.5957 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.5338, allocations: 27.98 kB / 0.5957 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006766/0.5406, allocations: 4.116 MB / 0.5997 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5406, allocations: 4.047 kB / 0.5997 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005104/0.5457, allocations: 1.52 MB / 0.6012 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.546, allocations: 79.45 kB / 0.6013 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.5461, allocations: 15.94 kB / 0.6013 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.5466, allocations: 20 kB / 0.6013 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5468, allocations: 64.27 kB / 0.6014 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.5468, allocations: 56.05 kB / 0.6014 GB, free: 4.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.5477, allocations: 499 kB / 0.6019 GB, free: 3.684 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5477, allocations: 0 / 0.6019 GB, free: 3.684 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001427/0.5491, allocations: 299.6 kB / 0.6022 GB, free: 3.391 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00089/0.55, allocations: 355.1 kB / 0.6025 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.5526, allocations: 0.9754 MB / 0.6035 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5526, allocations: 0 / 0.6035 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.5541, allocations: 0.6289 MB / 0.6041 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5551, allocations: 193.5 kB / 0.6043 GB, free: 1.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.5596, allocations: 2.228 MB / 0.6065 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.5604, allocations: 0.5183 MB / 0.607 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001116/0.5615, allocations: 321.8 kB / 0.6073 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.5619, allocations: 131.4 kB / 0.6074 GB, free: 13.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5619, allocations: 4 kB / 0.6074 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Templates: time 0.03691/0.5988, allocations: 21.1 MB / 0.628 GB, free: 8.98 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912250779569149] Failed to read output from testmodel.py, exit status != 0: 0.6087664160877466 0.624282351 0.16683024399999996 Calling exit ...