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.0016/0.0016, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001763/0.001763, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1403/0.1403, allocations: 23.9 MB / 333.4 MB, free: 1.188 MB / 254.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.002049/0.002049, allocations: 64.08 kB / 467.2 MB, free: 30.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.09025, allocations: 59.84 MB / 0.5147 GB, free: 12.4 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.04619/0.1364, allocations: 34.79 MB / 0.5487 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1472, allocations: 6.127 MB / 0.5547 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1484, allocations: 51.69 kB / 0.5547 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.1513, allocations: 1.285 MB / 0.556 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1533, allocations: 1.008 MB / 0.557 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.1543, allocations: 438.6 kB / 0.5574 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.1576, allocations: 2.654 MB / 0.56 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1591, allocations: 1.132 MB / 0.5611 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.1604, allocations: 1.14 MB / 0.5622 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.1618, allocations: 1.302 MB / 0.5635 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.1622, allocations: 280 kB / 0.5637 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.1645, allocations: 1.307 MB / 0.565 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007122/0.1652, allocations: 0.8057 MB / 0.5658 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.1669, allocations: 1.772 MB / 0.5675 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00629/0.1732, allocations: 5.144 MB / 0.5725 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1732, allocations: 3.984 kB / 0.5725 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1732, allocations: 4 kB / 0.5725 GB, free: 1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.674e-05/0.1732, allocations: 0 / 0.5725 GB, free: 1 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.005447/0.1787, allocations: 3.863 MB / 0.5763 GB, free: 13.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1787, allocations: 8.031 kB / 0.5763 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/0.1796, allocations: 494.1 kB / 0.5768 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.1819, allocations: 1.514 MB / 0.5783 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.1821, allocations: 234.8 kB / 0.5785 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/0.1825, allocations: 323.9 kB / 0.5788 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006775/0.1893, allocations: 4.669 MB / 0.5834 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.784e-05/0.1894, allocations: 23.8 kB / 0.5834 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.1896, allocations: 144 kB / 0.5835 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004168/0.19, allocations: 345.8 kB / 0.5839 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/0.1953, allocations: 3.481 MB / 0.5873 GB, free: 1.375 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.2225/0.4178, allocations: 21.33 MB / 0.6081 GB, free: 46.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.419, allocations: 0.6925 MB / 0.6088 GB, free: 46.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/0.4196, allocations: 454.7 kB / 0.6092 GB, free: 45.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.42, allocations: 163.1 kB / 0.6093 GB, free: 45.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.42, allocations: 47.05 kB / 0.6094 GB, free: 45.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/0.42, allocations: 0 / 0.6094 GB, free: 45.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.003049/0.4231, allocations: 1.823 MB / 0.6112 GB, free: 44.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.4231, allocations: 299.7 kB / 0.6115 GB, free: 44.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005041/0.4282, allocations: 4.239 MB / 0.6156 GB, free: 42.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.4282, allocations: 31.8 kB / 0.6156 GB, free: 42.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.4293, allocations: 1.764 MB / 0.6174 GB, free: 41.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.4294, allocations: 116.6 kB / 0.6175 GB, free: 41.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.4296, allocations: 158.1 kB / 0.6176 GB, free: 41.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.4297, allocations: 336.4 kB / 0.6179 GB, free: 40.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/0.4304, allocations: 454.4 kB / 0.6184 GB, free: 40.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000731/0.4311, allocations: 0.8596 MB / 0.6192 GB, free: 39.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.4326, allocations: 1.365 MB / 0.6205 GB, free: 38.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.4326, allocations: 4.125 kB / 0.6205 GB, free: 38.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002282/0.4348, allocations: 1.662 MB / 0.6222 GB, free: 37.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4349, allocations: 17.45 kB / 0.6222 GB, free: 37.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4349, allocations: 14.62 kB / 0.6222 GB, free: 37.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.4351, allocations: 62.58 kB / 0.6223 GB, free: 37.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.4357, allocations: 200 kB / 0.6224 GB, free: 37.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.437, allocations: 2.799 MB / 0.6252 GB, free: 35.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.4383, allocations: 361.5 kB / 0.6255 GB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/0.4383, allocations: 62.86 kB / 0.6256 GB, free: 34.85 MB / 446.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.0008508/0.4392, allocations: 0.7671 MB / 0.6263 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.4396, allocations: 357 kB / 0.6267 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.4413, allocations: 1.031 MB / 0.6277 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4413, allocations: 6.562 kB / 0.6277 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4413, allocations: 3.938 kB / 0.6277 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4413, allocations: 11.86 kB / 0.6277 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.4438, allocations: 2.208 MB / 0.6299 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4438, allocations: 3.938 kB / 0.6299 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.4442, allocations: 70.64 kB / 0.6299 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.4443, allocations: 51.28 kB / 0.63 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.4443, allocations: 15.05 kB / 0.63 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.4455, allocations: 2.78 MB / 0.6327 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4455, allocations: 7.469 kB / 0.6327 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.4471, allocations: 1.984 MB / 0.6347 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.4477, allocations: 0.5342 MB / 0.6352 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.448, allocations: 8.688 kB / 0.6352 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009824/0.449, allocations: 26.45 kB / 0.6352 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.449, allocations: 41.11 kB / 0.6352 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.4491, allocations: 10.38 kB / 0.6353 GB, free: 27.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003439/0.4525, allocations: 3.19 MB / 0.6384 GB, free: 25.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4525, allocations: 0 / 0.6384 GB, free: 25.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001675/0.4542, allocations: 0.5359 MB / 0.6389 GB, free: 25.38 MB / 446.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.0003986/0.4546, allocations: 216.2 kB / 0.6391 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.456, allocations: 1.028 MB / 0.6401 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.456, allocations: 0 / 0.6401 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.4566, allocations: 499 kB / 0.6406 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.46, allocations: 0.803 MB / 0.6414 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.4659, allocations: 5.728 MB / 0.647 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.4671, allocations: 1.994 MB / 0.6489 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.4675, allocations: 171.4 kB / 0.6491 GB, free: 16.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4675, allocations: 6.656 kB / 0.6491 GB, free: 16.21 MB / 446.1 MB Notification: Performance of Templates: time 0.08208/0.5496, allocations: 70.8 MB / 0.7182 GB, free: 10.01 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: 12.393421776010655] Failed to read output from testmodel.py, exit status != 0: 0.5573517520097084 0.5715454550000001 0.395425136 Calling exit ...