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.001456/0.001456, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001391/0.001391, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.123/0.123, allocations: 23.86 MB / 336.3 MB, free: 11.2 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.002065/0.002065, allocations: 67.89 kB / 471.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2724, allocations: 59.85 MB / 0.519 GB, free: 9.852 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.04146/0.3139, allocations: 34.72 MB / 0.553 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.3247, allocations: 6.221 MB / 0.559 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.326, allocations: 47.75 kB / 0.5591 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.3292, allocations: 1.337 MB / 0.5604 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3312, allocations: 0.9645 MB / 0.5613 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.3321, allocations: 434.8 kB / 0.5617 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.3355, allocations: 2.608 MB / 0.5643 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.3369, allocations: 1.011 MB / 0.5653 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.338, allocations: 1.092 MB / 0.5663 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.3393, allocations: 1.302 MB / 0.5676 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.3397, allocations: 284 kB / 0.5679 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.3421, allocations: 1.34 MB / 0.5692 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.3428, allocations: 0.8213 MB / 0.57 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.3443, allocations: 1.779 MB / 0.5717 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.3497, allocations: 5.175 MB / 0.5768 GB, free: 14.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3497, allocations: 4 kB / 0.5768 GB, free: 14.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3497, allocations: 7.875 kB / 0.5768 GB, free: 14.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.319e-05/0.3498, allocations: 0 / 0.5768 GB, free: 14.86 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.004671/0.3544, allocations: 3.795 MB / 0.5805 GB, free: 11.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3545, allocations: 12.03 kB / 0.5805 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007388/0.3552, allocations: 494.1 kB / 0.581 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.3573, allocations: 1.432 MB / 0.5824 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.3575, allocations: 246.8 kB / 0.5826 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.3578, allocations: 319.9 kB / 0.5829 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005978/0.3638, allocations: 4.712 MB / 0.5875 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.3639, allocations: 19.81 kB / 0.5875 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.3641, allocations: 140 kB / 0.5877 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.3644, allocations: 345.8 kB / 0.588 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004833/0.3693, allocations: 3.578 MB / 0.5915 GB, free: 15.28 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.01978/0.3891, allocations: 21.24 MB / 0.6122 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3902, allocations: 0.7168 MB / 0.6129 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.3909, allocations: 472.4 kB / 0.6134 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000381/0.3913, allocations: 77.56 kB / 0.6135 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3913, allocations: 46.5 kB / 0.6135 GB, free: 7.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.3913, allocations: 0 / 0.6135 GB, free: 7.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002978/0.3943, allocations: 1.727 MB / 0.6152 GB, free: 6.133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.3945, allocations: 298.8 kB / 0.6155 GB, free: 5.773 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/0.4, allocations: 4.306 MB / 0.6197 GB, free: 1.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.4, allocations: 29.7 kB / 0.6197 GB, free: 1.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.4016, allocations: 1.752 MB / 0.6214 GB, free: 15.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.4017, allocations: 119 kB / 0.6215 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.402, allocations: 158.6 kB / 0.6217 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4021, allocations: 334 kB / 0.622 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.4028, allocations: 461.8 kB / 0.6224 GB, free: 14.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4038, allocations: 0.8407 MB / 0.6233 GB, free: 13.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.4057, allocations: 1.364 MB / 0.6246 GB, free: 12.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.4057, allocations: 11.98 kB / 0.6246 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002484/0.4081, allocations: 1.661 MB / 0.6262 GB, free: 10.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4082, allocations: 16.25 kB / 0.6262 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4082, allocations: 15.98 kB / 0.6263 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.4084, allocations: 57.7 kB / 0.6263 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.409, allocations: 195.7 kB / 0.6265 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.4111, allocations: 2.598 MB / 0.629 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4122, allocations: 372.7 kB / 0.6294 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.4123, allocations: 59.98 kB / 0.6295 GB, free: 6.781 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.001043/0.4133, allocations: 0.7596 MB / 0.6302 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/0.4139, allocations: 365.5 kB / 0.6305 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.4158, allocations: 1.06 MB / 0.6316 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4158, allocations: 11.94 kB / 0.6316 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4158, allocations: 4 kB / 0.6316 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4158, allocations: 4 kB / 0.6316 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.4188, allocations: 2.2 MB / 0.6337 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4188, allocations: 4.062 kB / 0.6338 GB, free: 2.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.4191, allocations: 79.89 kB / 0.6338 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.4193, allocations: 49.56 kB / 0.6339 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.4193, allocations: 11.98 kB / 0.6339 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.4213, allocations: 2.566 MB / 0.6364 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4213, allocations: 7.969 kB / 0.6364 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.4234, allocations: 2.04 MB / 0.6384 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/0.4242, allocations: 473.4 kB / 0.6388 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.4245, allocations: 19.95 kB / 0.6389 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/0.4255, allocations: 23.97 kB / 0.6389 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.4256, allocations: 35.83 kB / 0.6389 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.4256, allocations: 16 kB / 0.6389 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004332/0.4299, allocations: 3.245 MB / 0.6421 GB, free: 9.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 4 kB / 0.6421 GB, free: 9.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00157/0.4315, allocations: 0.5188 MB / 0.6426 GB, free: 8.945 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.0003452/0.4318, allocations: 211.1 kB / 0.6428 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4335, allocations: 1.043 MB / 0.6438 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4335, allocations: 0 / 0.6438 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007277/0.4342, allocations: 0.5051 MB / 0.6443 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.4376, allocations: 0.8168 MB / 0.6451 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007502/0.4451, allocations: 5.598 MB / 0.6506 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.447, allocations: 2.003 MB / 0.6525 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008942/0.4479, allocations: 401.3 kB / 0.6529 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.4482, allocations: 167.4 kB / 0.6531 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.4482, allocations: 0 / 0.6531 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.06335/0.5116, allocations: 36.41 MB / 0.6886 GB, free: 9.789 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: 5.538342113839462] Failed to read output from testmodel.py, exit status != 0: 0.519571086158976 0.533363409 0.180697985 Calling exit ...