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.001605/0.001605, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 213.6 kB / 22.24 MB, free: 5.258 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.816 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.1348/0.1348, allocations: 23.9 MB / 336.3 MB, free: 10.99 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.002007/0.002007, allocations: 71.84 kB / 471.6 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 59.86 MB / 0.519 GB, free: 9.828 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.08091/0.4436, allocations: 32.73 MB / 0.551 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.4564, allocations: 5.597 MB / 0.5565 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.4603, allocations: 51.75 kB / 0.5565 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004786/0.4651, allocations: 1.247 MB / 0.5577 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.4696, allocations: 0.9687 MB / 0.5587 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.4715, allocations: 431.1 kB / 0.5591 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005177/0.4767, allocations: 2.605 MB / 0.5616 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.4783, allocations: 0.988 MB / 0.5626 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.4799, allocations: 1.096 MB / 0.5637 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.4813, allocations: 1.067 MB / 0.5647 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.4816, allocations: 284 kB / 0.565 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.4839, allocations: 0.748 MB / 0.5657 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008087/0.4847, allocations: 0.8217 MB / 0.5665 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.486, allocations: 1.317 MB / 0.5678 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/0.4926, allocations: 5.042 MB / 0.5727 GB, free: 2.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4926, allocations: 4 kB / 0.5727 GB, free: 2.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4926, allocations: 0 / 0.5727 GB, free: 2.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.853e-05/0.4926, allocations: 0 / 0.5727 GB, free: 2.777 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: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.005447/0.4981, allocations: 3.799 MB / 0.5764 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4981, allocations: 12.03 kB / 0.5764 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.4989, allocations: 486.1 kB / 0.5769 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.5014, allocations: 1.432 MB / 0.5783 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.5016, allocations: 246.8 kB / 0.5785 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/0.5019, allocations: 323.9 kB / 0.5788 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006538/0.5085, allocations: 4.708 MB / 0.5834 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/0.5085, allocations: 23.75 kB / 0.5835 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.5088, allocations: 144 kB / 0.5836 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003953/0.5092, allocations: 337.8 kB / 0.5839 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005466/0.5147, allocations: 3.587 MB / 0.5874 GB, free: 3.199 MB / 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.02122/0.5359, allocations: 18.52 MB / 0.6055 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.5373, allocations: 0.7092 MB / 0.6062 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.5381, allocations: 468.4 kB / 0.6067 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.5385, allocations: 77.58 kB / 0.6067 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.5385, allocations: 54.48 kB / 0.6068 GB, free: 14.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/0.5385, allocations: 4 kB / 0.6068 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003129/0.5417, allocations: 1.529 MB / 0.6083 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.5418, allocations: 294.7 kB / 0.6086 GB, free: 12.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.5444, allocations: 1.572 MB / 0.6101 GB, free: 11.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.5444, allocations: 33.7 kB / 0.6101 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.5459, allocations: 1.789 MB / 0.6119 GB, free: 9.316 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.5461, allocations: 115 kB / 0.612 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.5464, allocations: 166.5 kB / 0.6121 GB, free: 9.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5466, allocations: 333.9 kB / 0.6125 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/0.5473, allocations: 473.7 kB / 0.6129 GB, free: 8.238 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.5484, allocations: 0.8407 MB / 0.6137 GB, free: 7.207 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.5502, allocations: 1.36 MB / 0.6151 GB, free: 5.656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5502, allocations: 4 kB / 0.6151 GB, free: 5.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002439/0.5527, allocations: 1.483 MB / 0.6165 GB, free: 4.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5527, allocations: 8 kB / 0.6165 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.5527, allocations: 16 kB / 0.6165 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.553, allocations: 61.69 kB / 0.6166 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.5535, allocations: 187.7 kB / 0.6168 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.5557, allocations: 2.548 MB / 0.6193 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000762/0.5565, allocations: 103.7 kB / 0.6194 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5566, allocations: 59.98 kB / 0.6194 GB, free: 0.9688 MB / 462.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.001403/0.558, allocations: 0.7629 MB / 0.6202 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.5584, allocations: 166.9 kB / 0.6203 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.5602, allocations: 0.8889 MB / 0.6212 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.5602, allocations: 8.062 kB / 0.6212 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5602, allocations: 7.938 kB / 0.6212 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5602, allocations: 4 kB / 0.6212 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.5635, allocations: 1.479 MB / 0.6226 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5635, allocations: 4 kB / 0.6227 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.5638, allocations: 75.89 kB / 0.6227 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.564, allocations: 45.69 kB / 0.6228 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.564, allocations: 19.98 kB / 0.6228 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.566, allocations: 2.513 MB / 0.6252 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.5661, allocations: 8.328 kB / 0.6253 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.5681, allocations: 1.834 MB / 0.627 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.5684, allocations: 154.8 kB / 0.6272 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.5686, allocations: 15.94 kB / 0.6272 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.5693, allocations: 19.98 kB / 0.6272 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5694, allocations: 39.94 kB / 0.6273 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.5694, allocations: 8 kB / 0.6273 GB, free: 8.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.5713, allocations: 1.302 MB / 0.6285 GB, free: 7.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5713, allocations: 0 / 0.6285 GB, free: 7.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002901/0.5742, allocations: 0.7426 MB / 0.6293 GB, free: 6.582 MB / 478.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.0005992/0.5748, allocations: 223.1 kB / 0.6295 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.577, allocations: 1.039 MB / 0.6305 GB, free: 5.293 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.577, allocations: 3.938 kB / 0.6305 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.5778, allocations: 0.5131 MB / 0.631 GB, free: 4.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.58, allocations: 336.3 kB / 0.6313 GB, free: 4.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.5914, allocations: 5.18 MB / 0.6364 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00292/0.5943, allocations: 1.449 MB / 0.6378 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007134/0.595, allocations: 163.2 kB / 0.6379 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.5953, allocations: 75.42 kB / 0.638 GB, free: 13.47 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5953, allocations: 4 kB / 0.638 GB, free: 13.47 MB / 494.1 MB Notification: Performance of Templates: time 0.0436/0.6389, allocations: 22.67 MB / 0.6602 GB, free: 7.051 MB / 0.4981 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: 5.522659111768007] Failed to read output from testmodel.py, exit status != 0: 0.6482982076704502 0.665905642 0.169054376 Calling exit ...