Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001644/0.001644, allocations: 110.2 kB / 19.69 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.002327/0.002327, allocations: 215.6 kB / 23.01 MB, free: 4.566 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.647/1.647, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1562/0.1562, allocations: 23.9 MB / 337.1 MB, free: 11.17 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_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.002037/0.002037, allocations: 67.89 kB / 472.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3846, allocations: 59.88 MB / 0.5199 GB, free: 9.84 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620: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 master/Boundaries.mo:620:5-620: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.05107/0.4357, allocations: 34.8 MB / 0.5539 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.4495, allocations: 6.139 MB / 0.5599 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.4535, allocations: 47.69 kB / 0.5599 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004807/0.4584, allocations: 1.281 MB / 0.5612 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.4628, allocations: 1.006 MB / 0.5621 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.4647, allocations: 438.6 kB / 0.5626 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005895/0.4706, allocations: 2.655 MB / 0.5652 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.4725, allocations: 1.008 MB / 0.5661 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.4743, allocations: 1.146 MB / 0.5673 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.4762, allocations: 1.289 MB / 0.5685 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.4767, allocations: 283.9 kB / 0.5688 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.4798, allocations: 1.317 MB / 0.5701 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008684/0.4807, allocations: 0.8174 MB / 0.5709 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.4828, allocations: 1.776 MB / 0.5726 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007847/0.4907, allocations: 5.132 MB / 0.5776 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4907, allocations: 3.984 kB / 0.5776 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4907, allocations: 0 / 0.5776 GB, free: 14.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001488/0.4908, allocations: 0 / 0.5776 GB, free: 14.79 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.006078/0.4969, allocations: 3.787 MB / 0.5813 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4969, allocations: 12.03 kB / 0.5813 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.4978, allocations: 494.1 kB / 0.5818 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.5002, allocations: 1.436 MB / 0.5832 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5004, allocations: 238.8 kB / 0.5834 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.5008, allocations: 319.9 kB / 0.5837 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007114/0.5079, allocations: 4.716 MB / 0.5883 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-05/0.508, allocations: 23.75 kB / 0.5884 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.5082, allocations: 140 kB / 0.5885 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003812/0.5086, allocations: 345.8 kB / 0.5888 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/0.5142, allocations: 3.567 MB / 0.5923 GB, free: 15.22 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.02728/0.5415, allocations: 21.21 MB / 0.613 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.5429, allocations: 0.713 MB / 0.6137 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.5435, allocations: 472.4 kB / 0.6142 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004086/0.544, allocations: 77.58 kB / 0.6142 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.544, allocations: 54.48 kB / 0.6143 GB, free: 7.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/0.544, allocations: 0 / 0.6143 GB, free: 7.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003464/0.5475, allocations: 1.715 MB / 0.616 GB, free: 6.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002005/0.5477, allocations: 290.7 kB / 0.6163 GB, free: 5.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/0.5551, allocations: 4.232 MB / 0.6204 GB, free: 1.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.5552, allocations: 33.69 kB / 0.6204 GB, free: 1.465 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.557, allocations: 1.756 MB / 0.6221 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.5571, allocations: 123 kB / 0.6222 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.5574, allocations: 162.6 kB / 0.6224 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5576, allocations: 334 kB / 0.6227 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/0.5583, allocations: 465.7 kB / 0.6232 GB, free: 14.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5594, allocations: 0.8604 MB / 0.624 GB, free: 13.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.5613, allocations: 1.399 MB / 0.6254 GB, free: 11.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.5613, allocations: 4 kB / 0.6254 GB, free: 11.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003222/0.5645, allocations: 1.692 MB / 0.627 GB, free: 10.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.5645, allocations: 12 kB / 0.627 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.5646, allocations: 16 kB / 0.6271 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.5648, allocations: 57.69 kB / 0.6271 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.5654, allocations: 207.9 kB / 0.6273 GB, free: 9.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.5676, allocations: 2.593 MB / 0.6298 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5694, allocations: 356.6 kB / 0.6302 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5695, allocations: 63.98 kB / 0.6302 GB, free: 6.719 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (90): * Single equations (assignments): 88 * 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.001521/0.571, allocations: 0.7713 MB / 0.631 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/0.5717, allocations: 353.6 kB / 0.6313 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.5738, allocations: 1.059 MB / 0.6324 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5738, allocations: 4 kB / 0.6324 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5738, allocations: 4 kB / 0.6324 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.5738, allocations: 8.266 kB / 0.6324 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.5775, allocations: 2.195 MB / 0.6345 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5775, allocations: 7.984 kB / 0.6345 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.5778, allocations: 71.84 kB / 0.6346 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.578, allocations: 57.66 kB / 0.6347 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.5781, allocations: 12 kB / 0.6347 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.5801, allocations: 2.562 MB / 0.6372 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5801, allocations: 0 / 0.6372 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.5825, allocations: 2.028 MB / 0.6392 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.5837, allocations: 457.5 kB / 0.6396 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.584, allocations: 15.95 kB / 0.6396 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.5849, allocations: 23.97 kB / 0.6396 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.585, allocations: 39.88 kB / 0.6397 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.585, allocations: 16 kB / 0.6397 GB, free: 12.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005183/0.5902, allocations: 3.188 MB / 0.6428 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5902, allocations: 0 / 0.6428 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002366/0.5926, allocations: 0.5304 MB / 0.6433 GB, free: 8.977 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.0004601/0.593, allocations: 212 kB / 0.6435 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.5949, allocations: 1.051 MB / 0.6445 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.5949, allocations: 8.062 kB / 0.6445 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.5957, allocations: 0.4941 MB / 0.645 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/0.5998, allocations: 0.804 MB / 0.6458 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.6097, allocations: 5.761 MB / 0.6514 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.6117, allocations: 2.003 MB / 0.6534 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.6123, allocations: 171.4 kB / 0.6536 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/0.6123, allocations: 0 / 0.6536 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.1024/0.7147, allocations: 70.8 MB / 0.7227 GB, free: 7.539 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_master_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.594054812012473] Failed to read output from testmodel.py, exit status != 0: 0.7246279260143638 0.960973926 0.46727583399999995 Calling exit ...