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.001392/0.001392, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001615/0.001615, allocations: 220.7 kB / 22.3 MB, free: 5.301 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.606/1.606, allocations: 230.6 MB / 256.1 MB, free: 7.75 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.1692/0.1692, allocations: 23.88 MB / 336.4 MB, free: 10.93 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.002444/0.002444, allocations: 71.89 kB / 471.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4196, allocations: 59.86 MB / 0.5191 GB, free: 9.793 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.1068/0.5264, allocations: 32.71 MB / 0.5511 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02046/0.5469, allocations: 5.603 MB / 0.5565 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007155/0.5541, allocations: 43.75 kB / 0.5566 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007685/0.5618, allocations: 1.251 MB / 0.5578 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.5688, allocations: 0.965 MB / 0.5587 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.5718, allocations: 430.7 kB / 0.5592 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00865/0.5805, allocations: 2.61 MB / 0.5617 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.5835, allocations: 0.9914 MB / 0.5627 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.5863, allocations: 1.097 MB / 0.5637 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.5896, allocations: 1.063 MB / 0.5648 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.5909, allocations: 284 kB / 0.565 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00429/0.5952, allocations: 0.7553 MB / 0.5658 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.5969, allocations: 0.8184 MB / 0.5666 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.6003, allocations: 1.329 MB / 0.5679 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.6117, allocations: 5.027 MB / 0.5728 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.6117, allocations: 3.984 kB / 0.5728 GB, free: 2.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6117, allocations: 0 / 0.5728 GB, free: 2.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002163/0.6119, allocations: 0 / 0.5728 GB, free: 2.734 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.008338/0.6203, allocations: 3.803 MB / 0.5765 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.6203, allocations: 8.031 kB / 0.5765 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008932/0.6212, allocations: 494.1 kB / 0.577 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.6237, allocations: 1.432 MB / 0.5784 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.6239, allocations: 238.8 kB / 0.5786 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005194/0.6245, allocations: 323.9 kB / 0.5789 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006825/0.6313, allocations: 4.712 MB / 0.5835 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.6314, allocations: 23.81 kB / 0.5835 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.6316, allocations: 139.9 kB / 0.5837 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000406/0.632, allocations: 349.8 kB / 0.584 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/0.6376, allocations: 3.579 MB / 0.5875 GB, free: 3.148 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.02196/0.6595, allocations: 18.52 MB / 0.6056 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.6609, allocations: 0.7092 MB / 0.6063 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.6616, allocations: 472.3 kB / 0.6067 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.662, allocations: 77.52 kB / 0.6068 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.662, allocations: 50.48 kB / 0.6069 GB, free: 14.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.866e-06/0.662, allocations: 0 / 0.6069 GB, free: 14.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002974/0.665, allocations: 1.526 MB / 0.6083 GB, free: 13.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/0.6652, allocations: 294.7 kB / 0.6086 GB, free: 12.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.6673, allocations: 1.579 MB / 0.6102 GB, free: 11.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.6674, allocations: 29.7 kB / 0.6102 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.6688, allocations: 1.785 MB / 0.6119 GB, free: 9.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.669, allocations: 123 kB / 0.6121 GB, free: 9.152 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.6693, allocations: 162.6 kB / 0.6122 GB, free: 8.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6694, allocations: 334 kB / 0.6125 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.6702, allocations: 461.7 kB / 0.613 GB, free: 8.203 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.6713, allocations: 0.8485 MB / 0.6138 GB, free: 7.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.6731, allocations: 1.364 MB / 0.6151 GB, free: 5.605 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6731, allocations: 4 kB / 0.6151 GB, free: 5.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002383/0.6755, allocations: 1.474 MB / 0.6166 GB, free: 4.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.6755, allocations: 12.19 kB / 0.6166 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.6756, allocations: 16 kB / 0.6166 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.6758, allocations: 57.69 kB / 0.6167 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.6764, allocations: 195.6 kB / 0.6168 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.6787, allocations: 2.556 MB / 0.6193 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.6793, allocations: 95.33 kB / 0.6194 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6794, allocations: 64.23 kB / 0.6195 GB, free: 0.9141 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.001518/0.681, allocations: 0.7668 MB / 0.6202 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/0.6814, allocations: 159.1 kB / 0.6204 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.6831, allocations: 0.8892 MB / 0.6213 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6831, allocations: 12.03 kB / 0.6213 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.6831, allocations: 11.73 kB / 0.6213 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6831, allocations: 8 kB / 0.6213 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.6859, allocations: 1.479 MB / 0.6227 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6859, allocations: 0 / 0.6227 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.6862, allocations: 71.95 kB / 0.6228 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.6864, allocations: 49.62 kB / 0.6229 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.6864, allocations: 15.98 kB / 0.6229 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.6885, allocations: 2.512 MB / 0.6253 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6885, allocations: 0 / 0.6253 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.6906, allocations: 1.838 MB / 0.6271 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.6909, allocations: 154.8 kB / 0.6273 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6911, allocations: 12 kB / 0.6273 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.6917, allocations: 23.98 kB / 0.6273 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6918, allocations: 43.88 kB / 0.6273 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.6918, allocations: 16 kB / 0.6274 GB, free: 8.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.6937, allocations: 1.295 MB / 0.6286 GB, free: 7.273 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6937, allocations: 0 / 0.6286 GB, free: 7.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002445/0.6961, allocations: 0.7465 MB / 0.6294 GB, free: 6.523 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.0004023/0.6965, allocations: 211.1 kB / 0.6296 GB, free: 6.309 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.6984, allocations: 1.046 MB / 0.6306 GB, free: 5.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6984, allocations: 0 / 0.6306 GB, free: 5.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.6991, allocations: 0.5025 MB / 0.6311 GB, free: 4.711 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.7013, allocations: 342.8 kB / 0.6314 GB, free: 4.387 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.7106, allocations: 5.172 MB / 0.6364 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.7126, allocations: 1.465 MB / 0.6379 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006688/0.7133, allocations: 159.2 kB / 0.638 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.7135, allocations: 76.48 kB / 0.6381 GB, free: 13.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.134e-06/0.7135, allocations: 0 / 0.6381 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Templates: time 0.04084/0.7544, allocations: 18.54 MB / 0.6562 GB, free: 11.14 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: 6.262981969863176] Failed to read output from testmodel.py, exit status != 0: 0.7650317456573248 0.781323855 0.165965663 Calling exit ...