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.001435/0.001435, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001397/0.001397, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1417/0.1417, allocations: 23.88 MB / 337.1 MB, free: 11 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.002082/0.002082, allocations: 59.91 kB / 472.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3772, allocations: 59.87 MB / 0.5197 GB, free: 9.766 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.0835/0.4607, allocations: 32.57 MB / 0.5516 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.4751, allocations: 5.601 MB / 0.557 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.4792, allocations: 43.75 kB / 0.5571 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005279/0.4845, allocations: 1.258 MB / 0.5583 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004804/0.4893, allocations: 0.9651 MB / 0.5592 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.4913, allocations: 426.5 kB / 0.5596 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.4973, allocations: 2.611 MB / 0.5622 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.4991, allocations: 1.003 MB / 0.5632 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.5008, allocations: 1.1 MB / 0.5643 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.5028, allocations: 1.295 MB / 0.5655 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.5033, allocations: 284 kB / 0.5658 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.5055, allocations: 0.771 MB / 0.5665 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007544/0.5062, allocations: 0.8085 MB / 0.5673 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.5076, allocations: 1.329 MB / 0.5686 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006421/0.5141, allocations: 5.031 MB / 0.5735 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5141, allocations: 0 / 0.5735 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5141, allocations: 0 / 0.5735 GB, free: 2.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.807e-05/0.5142, allocations: 0 / 0.5735 GB, free: 2.699 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.005793/0.5199, allocations: 3.807 MB / 0.5773 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.52, allocations: 8.031 kB / 0.5773 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.5209, allocations: 498.1 kB / 0.5777 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.5233, allocations: 1.425 MB / 0.5791 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.5235, allocations: 242.8 kB / 0.5794 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.5239, allocations: 319.9 kB / 0.5797 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007151/0.5311, allocations: 4.712 MB / 0.5843 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-05/0.5312, allocations: 23.81 kB / 0.5843 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.5314, allocations: 144 kB / 0.5844 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004011/0.5318, allocations: 349.7 kB / 0.5848 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005645/0.5375, allocations: 3.583 MB / 0.5883 GB, free: 3.102 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.02235/0.5598, allocations: 18.52 MB / 0.6063 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5611, allocations: 0.7052 MB / 0.607 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.5618, allocations: 480.4 kB / 0.6075 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/0.5622, allocations: 81.56 kB / 0.6076 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.5623, allocations: 42.5 kB / 0.6076 GB, free: 14.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/0.5623, allocations: 0 / 0.6076 GB, free: 14.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003081/0.5654, allocations: 1.526 MB / 0.6091 GB, free: 13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/0.5656, allocations: 294.8 kB / 0.6094 GB, free: 12.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.568, allocations: 1.575 MB / 0.6109 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.568, allocations: 33.7 kB / 0.6109 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.5696, allocations: 1.797 MB / 0.6127 GB, free: 9.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.5698, allocations: 119 kB / 0.6128 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.5701, allocations: 162.6 kB / 0.613 GB, free: 8.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5703, allocations: 334 kB / 0.6133 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.571, allocations: 469.7 kB / 0.6137 GB, free: 8.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.5722, allocations: 0.8407 MB / 0.6146 GB, free: 7.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.5742, allocations: 1.364 MB / 0.6159 GB, free: 5.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.5742, allocations: 4 kB / 0.6159 GB, free: 5.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00255/0.5768, allocations: 1.474 MB / 0.6173 GB, free: 4.066 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.5768, allocations: 13 kB / 0.6173 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/0.5768, allocations: 16 kB / 0.6174 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.5772, allocations: 61.64 kB / 0.6174 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.5778, allocations: 187.7 kB / 0.6176 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.58, allocations: 2.556 MB / 0.6201 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.5807, allocations: 95.39 kB / 0.6202 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.5808, allocations: 56 kB / 0.6202 GB, free: 0.8789 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.001579/0.5824, allocations: 0.7669 MB / 0.621 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.5828, allocations: 163 kB / 0.6211 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.5846, allocations: 0.8968 MB / 0.622 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5846, allocations: 4 kB / 0.622 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.5846, allocations: 7.938 kB / 0.622 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5846, allocations: 4 kB / 0.622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.5874, allocations: 1.479 MB / 0.6235 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5874, allocations: 8.062 kB / 0.6235 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.5878, allocations: 75.89 kB / 0.6236 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.588, allocations: 41.69 kB / 0.6236 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.588, allocations: 12 kB / 0.6236 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.5901, allocations: 2.524 MB / 0.6261 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5901, allocations: 4 kB / 0.6261 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.5922, allocations: 1.826 MB / 0.6279 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.5926, allocations: 158.8 kB / 0.628 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.5928, allocations: 23.98 kB / 0.628 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.5934, allocations: 23.92 kB / 0.6281 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5935, allocations: 31.95 kB / 0.6281 GB, free: 8.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.5936, allocations: 23.92 kB / 0.6281 GB, free: 8.512 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.5954, allocations: 1.291 MB / 0.6294 GB, free: 7.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5954, allocations: 0 / 0.6294 GB, free: 7.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5977, allocations: 0.7504 MB / 0.6301 GB, free: 6.477 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.0004175/0.5981, allocations: 211.1 kB / 0.6303 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.5999, allocations: 1.046 MB / 0.6313 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5999, allocations: 0 / 0.6313 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008235/0.6007, allocations: 0.5054 MB / 0.6318 GB, free: 4.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.6028, allocations: 329.7 kB / 0.6321 GB, free: 4.348 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.6122, allocations: 5.184 MB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.6141, allocations: 1.453 MB / 0.6386 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006837/0.6147, allocations: 163.2 kB / 0.6388 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.615, allocations: 67.44 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/0.615, allocations: 0 / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of Templates: time 0.04154/0.6565, allocations: 22.89 MB / 0.6612 GB, free: 6.746 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.764890703008859] Failed to read output from testmodel.py, exit status != 0: 0.6657215099985478 0.680991963 0.163140538 Calling exit ...