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.001281/0.001281, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.001334/0.001334, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.36/1.36, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.1252/0.1252, allocations: 17.45 MB / 277.2 MB, free: 15.18 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.002017/0.002017, allocations: 63.91 kB / 412.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1113, allocations: 59.88 MB / 472.5 MB, free: 9.559 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:621:5-621: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:621:5-621: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.2651/0.3764, allocations: 32.9 MB / 0.4935 GB, free: 37.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008501/0.3849, allocations: 5.591 MB / 0.499 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.3864, allocations: 50.72 kB / 0.499 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.3895, allocations: 1.207 MB / 0.5002 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.3923, allocations: 1.015 MB / 0.5012 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3935, allocations: 444.5 kB / 0.5016 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003683/0.3972, allocations: 2.675 MB / 0.5042 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.3984, allocations: 0.9919 MB / 0.5052 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.3999, allocations: 1.155 MB / 0.5063 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.4011, allocations: 1.077 MB / 0.5074 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.4015, allocations: 285.3 kB / 0.5077 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.4032, allocations: 0.7216 MB / 0.5084 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004787/0.4037, allocations: 0.8323 MB / 0.5092 GB, free: 30 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.4048, allocations: 1.328 MB / 0.5105 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.4093, allocations: 5.026 MB / 0.5154 GB, free: 26.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4093, allocations: 1.188 kB / 0.5154 GB, free: 26.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4093, allocations: 0 / 0.5154 GB, free: 26.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.65e-05/0.4094, allocations: 0 / 0.5154 GB, free: 26.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.004784/0.4141, allocations: 3.817 MB / 0.5191 GB, free: 24.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4142, allocations: 8.812 kB / 0.5191 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008377/0.415, allocations: 0.4958 MB / 0.5196 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.4171, allocations: 1.442 MB / 0.521 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.4172, allocations: 242.7 kB / 0.5212 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.4175, allocations: 327.4 kB / 0.5215 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.4229, allocations: 4.764 MB / 0.5262 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/0.423, allocations: 25 kB / 0.5262 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.4231, allocations: 146.7 kB / 0.5264 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003031/0.4234, allocations: 351.6 kB / 0.5267 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.4276, allocations: 3.578 MB / 0.5302 GB, free: 18.58 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.01307/0.4407, allocations: 18.8 MB / 0.5486 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.4416, allocations: 0.713 MB / 0.5493 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/0.4423, allocations: 471.5 kB / 0.5497 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.4427, allocations: 88.06 kB / 0.5498 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.4428, allocations: 50.11 kB / 0.5498 GB, free: 15.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.445e-06/0.4428, allocations: 0 / 0.5498 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002956/0.4457, allocations: 1.522 MB / 0.5513 GB, free: 14.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.4459, allocations: 292.2 kB / 0.5516 GB, free: 13.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.4481, allocations: 1.6 MB / 0.5532 GB, free: 12.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.4481, allocations: 33.7 kB / 0.5532 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.4495, allocations: 1.818 MB / 0.555 GB, free: 10.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4497, allocations: 119.4 kB / 0.5551 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.4499, allocations: 175.1 kB / 0.5552 GB, free: 10.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4501, allocations: 335.4 kB / 0.5556 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.4509, allocations: 477 kB / 0.556 GB, free: 9.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.452, allocations: 0.891 MB / 0.5569 GB, free: 8.633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.4539, allocations: 1.429 MB / 0.5583 GB, free: 7.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4539, allocations: 4.609 kB / 0.5583 GB, free: 7.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002546/0.4564, allocations: 1.529 MB / 0.5598 GB, free: 5.691 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.4565, allocations: 16.55 kB / 0.5598 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.4565, allocations: 16 kB / 0.5598 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.4567, allocations: 60.59 kB / 0.5599 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.4573, allocations: 213.1 kB / 0.5601 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.4595, allocations: 2.545 MB / 0.5626 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.4602, allocations: 108.3 kB / 0.5627 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.937e-05/0.4603, allocations: 66.81 kB / 0.5627 GB, free: 2.551 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.001379/0.4617, allocations: 0.7693 MB / 0.5635 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.4621, allocations: 163.7 kB / 0.5636 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.4639, allocations: 0.8962 MB / 0.5645 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4639, allocations: 4.281 kB / 0.5645 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.4639, allocations: 4 kB / 0.5645 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4639, allocations: 6.531 kB / 0.5645 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.4667, allocations: 1.5 MB / 0.566 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4667, allocations: 3.984 kB / 0.566 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.4671, allocations: 84.84 kB / 0.5661 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.4672, allocations: 45.44 kB / 0.5661 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4673, allocations: 9.594 kB / 0.5661 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.4692, allocations: 2.515 MB / 0.5686 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4692, allocations: 4.062 kB / 0.5686 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.4712, allocations: 1.832 MB / 0.5704 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.4715, allocations: 165.1 kB / 0.5705 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.4717, allocations: 8 kB / 0.5705 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.4723, allocations: 21.67 kB / 0.5706 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.4724, allocations: 37.19 kB / 0.5706 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.4724, allocations: 16.94 kB / 0.5706 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.4741, allocations: 1.3 MB / 0.5719 GB, free: 9.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4741, allocations: 4 kB / 0.5719 GB, free: 9.723 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002409/0.4765, allocations: 0.7555 MB / 0.5726 GB, free: 8.965 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.0003689/0.4769, allocations: 215.5 kB / 0.5728 GB, free: 8.758 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4787, allocations: 1.049 MB / 0.5739 GB, free: 7.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4787, allocations: 7.938 kB / 0.5739 GB, free: 7.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.4795, allocations: 0.5025 MB / 0.5744 GB, free: 7.281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.4815, allocations: 346 kB / 0.5747 GB, free: 7.004 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.4898, allocations: 5.22 MB / 0.5798 GB, free: 2.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.4918, allocations: 1.456 MB / 0.5812 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.4923, allocations: 174.2 kB / 0.5814 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.4925, allocations: 75.59 kB / 0.5814 GB, free: 0.75 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4925, allocations: 0 / 0.5814 GB, free: 0.75 MB / 478.1 MB Notification: Performance of Templates: time 0.03481/0.5273, allocations: 18.54 MB / 0.5996 GB, free: 15.39 MB / 0.4981 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.143885477911681] Failed to read output from testmodel.py, exit status != 0: 0.5358178209280595 0.549954717 0.137745436 Calling exit ...