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.001353/0.001353, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001599/0.001599, allocations: 216.4 kB / 22.99 MB, free: 4.914 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.1502/0.1502, allocations: 23.87 MB / 337.1 MB, free: 10.98 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.002071/0.002071, allocations: 71.88 kB / 472.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 59.85 MB / 0.5197 GB, free: 9.816 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.08247/0.4429, allocations: 32.74 MB / 0.5517 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.4556, allocations: 5.608 MB / 0.5572 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.4595, allocations: 43.75 kB / 0.5572 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004752/0.4642, allocations: 1.251 MB / 0.5585 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.4681, allocations: 0.965 MB / 0.5594 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.4696, allocations: 430.7 kB / 0.5598 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004745/0.4743, allocations: 2.605 MB / 0.5624 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.4758, allocations: 0.9914 MB / 0.5633 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.4774, allocations: 1.092 MB / 0.5644 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.4788, allocations: 1.068 MB / 0.5654 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.4791, allocations: 284 kB / 0.5657 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.4811, allocations: 0.7475 MB / 0.5664 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007901/0.4819, allocations: 0.8165 MB / 0.5672 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.4835, allocations: 1.329 MB / 0.5685 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.4898, allocations: 5.035 MB / 0.5734 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4898, allocations: 0 / 0.5734 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4898, allocations: 4 kB / 0.5735 GB, free: 2.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.801e-05/0.4899, allocations: 0 / 0.5735 GB, free: 2.742 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.005673/0.4956, allocations: 3.799 MB / 0.5772 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4956, allocations: 8.031 kB / 0.5772 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.4965, allocations: 498.1 kB / 0.5776 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.499, allocations: 1.425 MB / 0.579 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.4992, allocations: 242.8 kB / 0.5793 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.4996, allocations: 327.9 kB / 0.5796 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006834/0.5064, allocations: 4.704 MB / 0.5842 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.5065, allocations: 27.69 kB / 0.5842 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.5067, allocations: 140 kB / 0.5843 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004049/0.5071, allocations: 345.8 kB / 0.5847 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005326/0.5124, allocations: 3.583 MB / 0.5882 GB, free: 3.16 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.02163/0.5341, allocations: 18.51 MB / 0.6062 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5355, allocations: 0.713 MB / 0.6069 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/0.5362, allocations: 472.4 kB / 0.6074 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.5366, allocations: 81.56 kB / 0.6075 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.5366, allocations: 46.5 kB / 0.6075 GB, free: 14.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.5366, allocations: 0 / 0.6075 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003025/0.5396, allocations: 1.529 MB / 0.609 GB, free: 13.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.5398, allocations: 294.7 kB / 0.6093 GB, free: 12.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.5419, allocations: 1.576 MB / 0.6108 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.5419, allocations: 29.7 kB / 0.6108 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.5434, allocations: 1.793 MB / 0.6126 GB, free: 9.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.5435, allocations: 119 kB / 0.6127 GB, free: 9.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.5437, allocations: 166.5 kB / 0.6129 GB, free: 8.992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5439, allocations: 338 kB / 0.6132 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/0.5446, allocations: 473.7 kB / 0.6136 GB, free: 8.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.5458, allocations: 0.833 MB / 0.6145 GB, free: 7.168 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.5477, allocations: 1.357 MB / 0.6158 GB, free: 5.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5477, allocations: 4 kB / 0.6158 GB, free: 5.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002338/0.55, allocations: 1.49 MB / 0.6172 GB, free: 4.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.55, allocations: 12 kB / 0.6173 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.55, allocations: 12 kB / 0.6173 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.5503, allocations: 53.7 kB / 0.6173 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.5509, allocations: 191.7 kB / 0.6175 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.5531, allocations: 2.559 MB / 0.62 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.5538, allocations: 95.7 kB / 0.6201 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.5539, allocations: 60 kB / 0.6201 GB, free: 0.9258 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.001457/0.5553, allocations: 0.7629 MB / 0.6209 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.5557, allocations: 163.1 kB / 0.6211 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.5575, allocations: 0.8969 MB / 0.6219 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.5575, allocations: 4 kB / 0.6219 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5575, allocations: 7.75 kB / 0.6219 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5575, allocations: 4 kB / 0.6219 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.5603, allocations: 1.475 MB / 0.6234 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.5603, allocations: 4 kB / 0.6234 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.5606, allocations: 75.89 kB / 0.6235 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.5608, allocations: 45.97 kB / 0.6235 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5609, allocations: 12.12 kB / 0.6235 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.5635, allocations: 2.52 MB / 0.626 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5635, allocations: 12 kB / 0.626 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.566, allocations: 1.826 MB / 0.6278 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.5663, allocations: 158.8 kB / 0.6279 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.5665, allocations: 19.92 kB / 0.6279 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.5671, allocations: 19.98 kB / 0.628 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.5672, allocations: 27.95 kB / 0.628 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.5672, allocations: 19.98 kB / 0.628 GB, free: 8.578 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.5691, allocations: 1.295 MB / 0.6293 GB, free: 7.293 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5691, allocations: 0 / 0.6293 GB, free: 7.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002269/0.5713, allocations: 0.7504 MB / 0.63 GB, free: 6.539 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.0003993/0.5717, allocations: 230 kB / 0.6302 GB, free: 6.309 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.5735, allocations: 1.039 MB / 0.6312 GB, free: 5.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5735, allocations: 4.188 kB / 0.6312 GB, free: 5.242 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007649/0.5743, allocations: 0.4982 MB / 0.6317 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.5763, allocations: 339.2 kB / 0.632 GB, free: 4.398 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.5859, allocations: 5.362 MB / 0.6373 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.588, allocations: 1.461 MB / 0.6387 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.5883, allocations: 71.44 kB / 0.6388 GB, free: 13.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5883, allocations: 0 / 0.6388 GB, free: 13.4 MB / 494.1 MB Notification: Performance of Templates: time 0.08101/0.6693, allocations: 59.22 MB / 0.6966 GB, free: 2.176 MB / 0.5294 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: 11.0861043240875] Failed to read output from testmodel.py, exit status != 0: 0.678211369086057 0.693619883 0.20044424099999994 Calling exit ...