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.001346/0.001346, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001762/0.001762, allocations: 222.4 kB / 22.25 MB, free: 5.258 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.805 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.1499/0.1499, allocations: 23.93 MB / 336.4 MB, free: 10.92 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.002176/0.002176, allocations: 63.89 kB / 471.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3762, allocations: 59.87 MB / 0.5191 GB, free: 9.758 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.08292/0.4591, allocations: 32.62 MB / 0.5509 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.473, allocations: 5.542 MB / 0.5564 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003582/0.4765, allocations: 55.62 kB / 0.5564 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004431/0.481, allocations: 1.2 MB / 0.5576 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.4851, allocations: 1.001 MB / 0.5586 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.4868, allocations: 438.9 kB / 0.559 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.492, allocations: 2.655 MB / 0.5616 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.4936, allocations: 1.007 MB / 0.5626 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.4952, allocations: 1.143 MB / 0.5637 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.4969, allocations: 1.288 MB / 0.5649 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.4972, allocations: 284 kB / 0.5652 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.4991, allocations: 0.7444 MB / 0.5659 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.4999, allocations: 0.8148 MB / 0.5667 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.5013, allocations: 1.321 MB / 0.568 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006471/0.5078, allocations: 4.988 MB / 0.5729 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5078, allocations: 3.938 kB / 0.5729 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5078, allocations: 0 / 0.5729 GB, free: 2.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.224e-05/0.5079, allocations: 0 / 0.5729 GB, free: 2.617 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.007325/0.5152, allocations: 3.795 MB / 0.5766 GB, free: 14.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5152, allocations: 12.03 kB / 0.5766 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009713/0.5162, allocations: 490.1 kB / 0.5771 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.5188, allocations: 1.44 MB / 0.5785 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.519, allocations: 242.7 kB / 0.5787 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/0.5194, allocations: 315.9 kB / 0.579 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/0.5269, allocations: 4.704 MB / 0.5836 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.736e-05/0.527, allocations: 27.75 kB / 0.5836 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.5272, allocations: 140 kB / 0.5838 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000394/0.5276, allocations: 353.8 kB / 0.5841 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.5336, allocations: 3.575 MB / 0.5876 GB, free: 3.035 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.02217/0.5557, allocations: 18.5 MB / 0.6057 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.557, allocations: 0.713 MB / 0.6064 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.5577, allocations: 468.4 kB / 0.6068 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/0.5582, allocations: 81.58 kB / 0.6069 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/0.5582, allocations: 54.42 kB / 0.6069 GB, free: 14.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/0.5582, allocations: 0 / 0.6069 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00293/0.5612, allocations: 1.525 MB / 0.6084 GB, free: 12.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001952/0.5614, allocations: 286.7 kB / 0.6087 GB, free: 12.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.5636, allocations: 1.592 MB / 0.6103 GB, free: 11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.5637, allocations: 29.7 kB / 0.6103 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.565, allocations: 1.793 MB / 0.612 GB, free: 9.152 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.5652, allocations: 111.1 kB / 0.6121 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.5654, allocations: 178.6 kB / 0.6123 GB, free: 8.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5656, allocations: 333.9 kB / 0.6126 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.5663, allocations: 461.8 kB / 0.6131 GB, free: 8.078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.5674, allocations: 0.872 MB / 0.6139 GB, free: 7.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.5692, allocations: 1.384 MB / 0.6153 GB, free: 5.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.5692, allocations: 4 kB / 0.6153 GB, free: 5.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002484/0.5717, allocations: 1.51 MB / 0.6168 GB, free: 3.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5718, allocations: 8 kB / 0.6168 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.5718, allocations: 19.98 kB / 0.6168 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.572, allocations: 61.77 kB / 0.6168 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.5727, allocations: 199.7 kB / 0.617 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.5748, allocations: 2.544 MB / 0.6195 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.5756, allocations: 103.3 kB / 0.6196 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.5757, allocations: 60 kB / 0.6197 GB, free: 0.6914 MB / 462.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.001397/0.5771, allocations: 0.7708 MB / 0.6204 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.5775, allocations: 163.1 kB / 0.6206 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5793, allocations: 0.8891 MB / 0.6214 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5793, allocations: 8 kB / 0.6215 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5793, allocations: 12 kB / 0.6215 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5793, allocations: 0 / 0.6215 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.582, allocations: 1.483 MB / 0.6229 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.582, allocations: 0 / 0.6229 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.5824, allocations: 75.89 kB / 0.623 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.5826, allocations: 49.62 kB / 0.623 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.5826, allocations: 8.125 kB / 0.623 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.5846, allocations: 2.524 MB / 0.6255 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.5846, allocations: 4.031 kB / 0.6255 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.5867, allocations: 1.823 MB / 0.6273 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.5871, allocations: 158.8 kB / 0.6274 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.5872, allocations: 15.94 kB / 0.6275 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.5879, allocations: 23.97 kB / 0.6275 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.588, allocations: 39.89 kB / 0.6275 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.588, allocations: 11.98 kB / 0.6275 GB, free: 8.344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001807/0.5898, allocations: 1.291 MB / 0.6288 GB, free: 7.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5898, allocations: 4 kB / 0.6288 GB, free: 7.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002363/0.5922, allocations: 0.7503 MB / 0.6295 GB, free: 6.305 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.0004152/0.5926, allocations: 223.1 kB / 0.6297 GB, free: 6.078 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.5944, allocations: 1.043 MB / 0.6308 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5944, allocations: 0 / 0.6308 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007605/0.5952, allocations: 0.5012 MB / 0.6312 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.5973, allocations: 335.7 kB / 0.6316 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/0.6067, allocations: 5.195 MB / 0.6366 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.6088, allocations: 1.454 MB / 0.6381 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007613/0.6095, allocations: 163.4 kB / 0.6382 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.6098, allocations: 75.42 kB / 0.6383 GB, free: 13.18 MB / 494.1 MB Notification: Performance of SimCode: time 1.714e-06/0.6098, allocations: 0 / 0.6383 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Templates: time 0.0433/0.6531, allocations: 22.83 MB / 0.6606 GB, free: 6.598 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 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.87125773075968] Failed to read output from testmodel.py, exit status != 0: 0.6622151839546859 0.6768700160000001 0.165851318 Calling exit ...