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.001567/0.001567, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001706/0.001706, allocations: 219.2 kB / 22.25 MB, free: 5.254 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] 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.1284/0.1284, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.001982/0.001982, allocations: 71.91 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2677, allocations: 59.86 MB / 0.519 GB, free: 9.84 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.07267/0.3403, allocations: 32.61 MB / 0.5509 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3507, allocations: 5.605 MB / 0.5563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.3521, allocations: 47.75 kB / 0.5564 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.3553, allocations: 1.243 MB / 0.5576 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.3575, allocations: 0.973 MB / 0.5586 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3586, allocations: 430.5 kB / 0.559 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003544/0.3621, allocations: 2.607 MB / 0.5615 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.3635, allocations: 1.007 MB / 0.5625 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.3648, allocations: 1.096 MB / 0.5636 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.3665, allocations: 1.302 MB / 0.5648 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.3668, allocations: 280 kB / 0.5651 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.3686, allocations: 0.7667 MB / 0.5658 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007225/0.3693, allocations: 0.8176 MB / 0.5666 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.3707, allocations: 1.329 MB / 0.5679 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005632/0.3763, allocations: 5.027 MB / 0.5729 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3763, allocations: 4 kB / 0.5729 GB, free: 2.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3763, allocations: 0 / 0.5729 GB, free: 2.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.666e-05/0.3763, allocations: 0 / 0.5729 GB, free: 2.598 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.004961/0.3813, allocations: 3.807 MB / 0.5766 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3813, allocations: 12.03 kB / 0.5766 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007618/0.3821, allocations: 494.1 kB / 0.5771 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3843, allocations: 1.428 MB / 0.5785 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.3845, allocations: 238.8 kB / 0.5787 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.3849, allocations: 319.9 kB / 0.579 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006264/0.3912, allocations: 4.724 MB / 0.5836 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.246e-05/0.3912, allocations: 19.81 kB / 0.5836 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.3915, allocations: 144 kB / 0.5838 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/0.3919, allocations: 345.8 kB / 0.5841 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/0.3967, allocations: 3.574 MB / 0.5876 GB, free: 3.008 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.01845/0.4152, allocations: 18.52 MB / 0.6057 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4163, allocations: 0.7052 MB / 0.6063 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.417, allocations: 476.4 kB / 0.6068 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.4174, allocations: 77.58 kB / 0.6069 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4174, allocations: 50.48 kB / 0.6069 GB, free: 14.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.4175, allocations: 0 / 0.6069 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002822/0.4203, allocations: 1.537 MB / 0.6084 GB, free: 12.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.4204, allocations: 286.7 kB / 0.6087 GB, free: 12.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.4224, allocations: 1.576 MB / 0.6102 GB, free: 10.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.4224, allocations: 33.8 kB / 0.6103 GB, free: 10.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.4237, allocations: 1.797 MB / 0.612 GB, free: 9.117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4239, allocations: 115.1 kB / 0.6121 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.4241, allocations: 166.6 kB / 0.6123 GB, free: 8.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4243, allocations: 330 kB / 0.6126 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/0.425, allocations: 469.7 kB / 0.6131 GB, free: 8.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.426, allocations: 0.8368 MB / 0.6139 GB, free: 7.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.4278, allocations: 1.359 MB / 0.6152 GB, free: 5.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4278, allocations: 4 kB / 0.6152 GB, free: 5.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002261/0.4301, allocations: 1.479 MB / 0.6166 GB, free: 3.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.4301, allocations: 12 kB / 0.6167 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.4301, allocations: 12.89 kB / 0.6167 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.4303, allocations: 69.67 kB / 0.6167 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.4309, allocations: 195.9 kB / 0.6169 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.433, allocations: 2.54 MB / 0.6194 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.4336, allocations: 95.39 kB / 0.6195 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4337, allocations: 63.98 kB / 0.6196 GB, free: 0.7852 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.001201/0.4349, allocations: 0.7708 MB / 0.6203 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.4352, allocations: 159 kB / 0.6205 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.4369, allocations: 0.8928 MB / 0.6213 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4369, allocations: 8 kB / 0.6213 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4369, allocations: 7.938 kB / 0.6213 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4369, allocations: 0 / 0.6213 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.4393, allocations: 1.487 MB / 0.6228 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4393, allocations: 4 kB / 0.6228 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.4396, allocations: 79.89 kB / 0.6229 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.4398, allocations: 49.67 kB / 0.6229 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.4398, allocations: 12 kB / 0.6229 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.4417, allocations: 2.521 MB / 0.6254 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4417, allocations: 0 / 0.6254 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.4436, allocations: 1.834 MB / 0.6272 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.4439, allocations: 154.8 kB / 0.6273 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.444, allocations: 11.94 kB / 0.6273 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.4446, allocations: 23.97 kB / 0.6274 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.4447, allocations: 35.89 kB / 0.6274 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.4447, allocations: 12 kB / 0.6274 GB, free: 8.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001631/0.4464, allocations: 1.295 MB / 0.6287 GB, free: 7.145 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4464, allocations: 4 kB / 0.6287 GB, free: 7.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001962/0.4483, allocations: 0.7465 MB / 0.6294 GB, free: 6.391 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.0003485/0.4487, allocations: 217.9 kB / 0.6296 GB, free: 6.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4503, allocations: 1.042 MB / 0.6306 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4503, allocations: 0 / 0.6306 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.4511, allocations: 0.5054 MB / 0.6311 GB, free: 4.574 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.453, allocations: 341.8 kB / 0.6315 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.4607, allocations: 5.184 MB / 0.6365 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.4625, allocations: 1.449 MB / 0.6379 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004735/0.463, allocations: 159.2 kB / 0.6381 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4632, allocations: 75.42 kB / 0.6382 GB, free: 13.29 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4632, allocations: 0 / 0.6382 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Templates: time 0.03821/0.5014, allocations: 22.89 MB / 0.6605 GB, free: 6.641 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: 4.995716201607138] Failed to read output from testmodel.py, exit status != 0: 0.5094158882275224 0.523392177 0.14418349699999994 Calling exit ...