Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Boundaries.Tests.TestBoundaries.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.001753/0.001753, allocations: 108.6 kB / 16.45 MB, free: 6.488 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.001651/0.001651, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.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.1458/0.1458, allocations: 23.85 MB / 332.7 MB, free: 12.34 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.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") [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.002091/0.002091, allocations: 67.91 kB / 466.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3828, allocations: 59.82 MB / 0.5139 GB, free: 9.133 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Boundaries.Tests.TestBoundaries): time 0.04795/0.4307, allocations: 34.48 MB / 0.5476 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.4436, allocations: 6.205 MB / 0.5537 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003988/0.4476, allocations: 47.69 kB / 0.5537 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.4524, allocations: 1.352 MB / 0.555 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.4565, allocations: 0.9735 MB / 0.556 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.4582, allocations: 423.1 kB / 0.5564 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.4632, allocations: 2.608 MB / 0.5589 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.4649, allocations: 1.136 MB / 0.5601 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4664, allocations: 1.096 MB / 0.5611 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.468, allocations: 1.299 MB / 0.5624 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.4684, allocations: 283.9 kB / 0.5627 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.4714, allocations: 1.341 MB / 0.564 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000799/0.4722, allocations: 0.8201 MB / 0.5648 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.474, allocations: 1.776 MB / 0.5665 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007033/0.4811, allocations: 5.19 MB / 0.5716 GB, free: 96 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4811, allocations: 0 / 0.5716 GB, free: 96 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4811, allocations: 0 / 0.5716 GB, free: 96 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.098e-05/0.4812, allocations: 0 / 0.5716 GB, free: 96 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.005418/0.4866, allocations: 3.874 MB / 0.5754 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4866, allocations: 8.031 kB / 0.5754 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008072/0.4874, allocations: 494.1 kB / 0.5758 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.4896, allocations: 1.498 MB / 0.5773 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.4898, allocations: 242.8 kB / 0.5775 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003753/0.4902, allocations: 319.9 kB / 0.5778 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006521/0.4967, allocations: 4.669 MB / 0.5824 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/0.4967, allocations: 19.81 kB / 0.5824 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.497, allocations: 140 kB / 0.5825 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004281/0.4974, allocations: 349.8 kB / 0.5829 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005521/0.5029, allocations: 3.488 MB / 0.5863 GB, free: 484 kB / 430.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.02208/0.525, allocations: 21.37 MB / 0.6072 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.5264, allocations: 0.7012 MB / 0.6078 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.5271, allocations: 460.5 kB / 0.6083 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004896/0.5276, allocations: 154.6 kB / 0.6084 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.5277, allocations: 50.48 kB / 0.6085 GB, free: 8.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.597e-06/0.5277, allocations: 0 / 0.6085 GB, free: 8.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003405/0.5311, allocations: 1.842 MB / 0.6103 GB, free: 6.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.5312, allocations: 294.8 kB / 0.6106 GB, free: 6.633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005739/0.537, allocations: 4.309 MB / 0.6148 GB, free: 2.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.537, allocations: 29.7 kB / 0.6148 GB, free: 2.273 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.5387, allocations: 1.748 MB / 0.6165 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5388, allocations: 123 kB / 0.6166 GB, free: 400 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.5391, allocations: 150.6 kB / 0.6168 GB, free: 240 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5393, allocations: 337.9 kB / 0.6171 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/0.5401, allocations: 453.8 kB / 0.6175 GB, free: 15.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5411, allocations: 0.8331 MB / 0.6183 GB, free: 14.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.543, allocations: 1.341 MB / 0.6196 GB, free: 12.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.543, allocations: 4 kB / 0.6196 GB, free: 12.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003054/0.546, allocations: 1.649 MB / 0.6213 GB, free: 11.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.5461, allocations: 12 kB / 0.6213 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.5461, allocations: 12 kB / 0.6213 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/0.5464, allocations: 61.62 kB / 0.6213 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.547, allocations: 191.7 kB / 0.6215 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.5496, allocations: 2.793 MB / 0.6242 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5511, allocations: 368.5 kB / 0.6246 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.5512, allocations: 63.98 kB / 0.6247 GB, free: 7.461 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (86): * Single equations (assignments): 84 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001421/0.5526, allocations: 0.759 MB / 0.6254 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/0.5533, allocations: 357.6 kB / 0.6257 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.5554, allocations: 1.052 MB / 0.6268 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.5554, allocations: 4 kB / 0.6268 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5554, allocations: 8 kB / 0.6268 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.5554, allocations: 4 kB / 0.6268 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.5588, allocations: 2.221 MB / 0.629 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5588, allocations: 0 / 0.629 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.5592, allocations: 71.89 kB / 0.629 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.5594, allocations: 53.86 kB / 0.6291 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.5594, allocations: 19.97 kB / 0.6291 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.5618, allocations: 2.765 MB / 0.6318 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5618, allocations: 4.062 kB / 0.6318 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.5642, allocations: 1.997 MB / 0.6337 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009181/0.5651, allocations: 0.5376 MB / 0.6343 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.5654, allocations: 15.98 kB / 0.6343 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.5664, allocations: 27.86 kB / 0.6343 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.5665, allocations: 35.91 kB / 0.6343 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.5665, allocations: 23.97 kB / 0.6344 GB, free: 13.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005043/0.5716, allocations: 3.245 MB / 0.6375 GB, free: 9.836 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5716, allocations: 0 / 0.6375 GB, free: 9.836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001919/0.5735, allocations: 0.5187 MB / 0.638 GB, free: 9.316 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (boundary_fore.rear.n_flow,terminalInflow.u,terminalOutflow.u,boundary_fore2.rear.n_flow,terminalInflow1.u,terminalOutflow1.u,solution.temperature) * 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 (28): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004212/0.5739, allocations: 215.3 kB / 0.6382 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.5757, allocations: 1.023 MB / 0.6392 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5757, allocations: 4 kB / 0.6393 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008227/0.5766, allocations: 0.4943 MB / 0.6397 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/0.5805, allocations: 0.8106 MB / 0.6405 GB, free: 6.727 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/0.5893, allocations: 5.583 MB / 0.646 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.5913, allocations: 1.999 MB / 0.6479 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00119/0.5925, allocations: 405.3 kB / 0.6483 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.5929, allocations: 163.4 kB / 0.6485 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.5929, allocations: 0 / 0.6485 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.07013/0.6631, allocations: 36.08 MB / 0.6837 GB, free: 10.54 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4134906232357025] Failed to read output from testmodel.py, exit status != 0: 0.6720635294914246 0.6858163300000001 0.201575883 Calling exit ...