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.001337/0.001337, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001494/0.001494, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.1364/0.1364, allocations: 23.85 MB / 337 MB, free: 11.23 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.002011/0.002011, allocations: 75.89 kB / 472.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3357, allocations: 59.86 MB / 0.5198 GB, free: 9.836 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.04789/0.3836, allocations: 34.7 MB / 0.5537 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3958, allocations: 6.226 MB / 0.5598 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.3987, allocations: 43.75 kB / 0.5598 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004638/0.4033, allocations: 1.335 MB / 0.5611 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.4066, allocations: 0.9644 MB / 0.5621 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4079, allocations: 438.6 kB / 0.5625 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.4122, allocations: 2.615 MB / 0.565 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.4136, allocations: 1.007 MB / 0.566 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.4149, allocations: 1.093 MB / 0.5671 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.4164, allocations: 1.302 MB / 0.5684 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.4167, allocations: 280 kB / 0.5686 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.4196, allocations: 1.346 MB / 0.5699 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006951/0.4203, allocations: 0.8213 MB / 0.5707 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.4218, allocations: 1.779 MB / 0.5725 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005998/0.4278, allocations: 5.183 MB / 0.5775 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4278, allocations: 0 / 0.5775 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4278, allocations: 0 / 0.5775 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.531e-05/0.4279, allocations: 0 / 0.5775 GB, free: 14.89 MB / 430.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.005097/0.433, allocations: 3.799 MB / 0.5812 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.433, allocations: 8.031 kB / 0.5813 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/0.4338, allocations: 494.1 kB / 0.5817 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.436, allocations: 1.432 MB / 0.5831 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.4362, allocations: 242.8 kB / 0.5834 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.4366, allocations: 319.9 kB / 0.5837 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/0.4429, allocations: 4.716 MB / 0.5883 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.971e-05/0.443, allocations: 23.81 kB / 0.5883 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.4432, allocations: 140 kB / 0.5884 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003758/0.4436, allocations: 345.8 kB / 0.5888 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005072/0.4486, allocations: 3.567 MB / 0.5922 GB, free: 15.32 MB / 446.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.0206/0.4692, allocations: 21.24 MB / 0.613 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.4704, allocations: 0.7168 MB / 0.6137 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.4711, allocations: 468.4 kB / 0.6141 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.4715, allocations: 81.56 kB / 0.6142 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.4716, allocations: 50.5 kB / 0.6143 GB, free: 7.906 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.4716, allocations: 0 / 0.6143 GB, free: 7.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003242/0.4748, allocations: 1.724 MB / 0.6159 GB, free: 6.168 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.475, allocations: 298.8 kB / 0.6162 GB, free: 5.809 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005733/0.4807, allocations: 4.306 MB / 0.6204 GB, free: 1.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.4808, allocations: 33.7 kB / 0.6205 GB, free: 1.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.4825, allocations: 1.753 MB / 0.6222 GB, free: 15.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.4827, allocations: 119 kB / 0.6223 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.4829, allocations: 150.6 kB / 0.6224 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4831, allocations: 337.9 kB / 0.6227 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/0.4838, allocations: 465.8 kB / 0.6232 GB, free: 14.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/0.4848, allocations: 0.8368 MB / 0.624 GB, free: 13.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.4865, allocations: 1.363 MB / 0.6253 GB, free: 12.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4865, allocations: 4 kB / 0.6253 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00275/0.4893, allocations: 1.68 MB / 0.627 GB, free: 10.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4893, allocations: 8 kB / 0.627 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4893, allocations: 16 kB / 0.627 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.4896, allocations: 57.7 kB / 0.6271 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.4902, allocations: 188 kB / 0.6272 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.4923, allocations: 2.606 MB / 0.6298 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4936, allocations: 364.5 kB / 0.6301 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.4937, allocations: 63.98 kB / 0.6302 GB, free: 6.816 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.001251/0.495, allocations: 0.7635 MB / 0.6309 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/0.4955, allocations: 357.6 kB / 0.6313 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.4974, allocations: 1.06 MB / 0.6323 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4974, allocations: 8.047 kB / 0.6323 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4974, allocations: 12.05 kB / 0.6323 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4975, allocations: 3.984 kB / 0.6323 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.5006, allocations: 2.196 MB / 0.6345 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5006, allocations: 7.984 kB / 0.6345 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.501, allocations: 79.78 kB / 0.6346 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.5011, allocations: 45.67 kB / 0.6346 GB, free: 2.203 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.5012, allocations: 16 kB / 0.6346 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.5032, allocations: 2.574 MB / 0.6371 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5032, allocations: 4 kB / 0.6371 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.5053, allocations: 2.04 MB / 0.6391 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/0.5063, allocations: 473.4 kB / 0.6396 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.5066, allocations: 11.98 kB / 0.6396 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/0.5075, allocations: 19.98 kB / 0.6396 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5077, allocations: 43.83 kB / 0.6397 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.5077, allocations: 15.98 kB / 0.6397 GB, free: 12.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00482/0.5125, allocations: 3.241 MB / 0.6428 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5125, allocations: 0 / 0.6428 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00183/0.5143, allocations: 0.5226 MB / 0.6434 GB, free: 8.984 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.0003784/0.5147, allocations: 217.9 kB / 0.6436 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.5165, allocations: 1.034 MB / 0.6446 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5165, allocations: 1 kB / 0.6446 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.5172, allocations: 0.5137 MB / 0.6451 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/0.5209, allocations: 0.8252 MB / 0.6459 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008719/0.5296, allocations: 5.749 MB / 0.6515 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/0.5314, allocations: 2.015 MB / 0.6535 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.5319, allocations: 171.4 kB / 0.6536 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.5319, allocations: 0 / 0.6536 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.08915/0.6211, allocations: 71.2 MB / 0.7232 GB, free: 7.129 MB / 0.5606 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: 13.688174545066431] Failed to read output from testmodel.py, exit status != 0: 0.6293392139486969 0.8241523159999999 0.39354019100000004 Calling exit ...