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.001648/0.001648, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.002053/0.002053, allocations: 210.6 kB / 22.99 MB, free: 4.41 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1378/0.1378, allocations: 23.94 MB / 337.1 MB, free: 10.91 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.002262/0.002262, allocations: 71.89 kB / 472.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3323, allocations: 59.88 MB / 0.5198 GB, free: 9.68 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.08673/0.419, allocations: 32.65 MB / 0.5517 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.4318, allocations: 5.55 MB / 0.5571 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.4356, allocations: 47.69 kB / 0.5572 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00487/0.4405, allocations: 1.192 MB / 0.5584 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.445, allocations: 1.006 MB / 0.5593 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.4471, allocations: 435 kB / 0.5597 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00614/0.4533, allocations: 2.662 MB / 0.5623 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.4552, allocations: 0.9991 MB / 0.5633 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.457, allocations: 1.142 MB / 0.5644 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.4588, allocations: 1.289 MB / 0.5657 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.4593, allocations: 284 kB / 0.566 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.4613, allocations: 0.7491 MB / 0.5667 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008098/0.4621, allocations: 0.8168 MB / 0.5675 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.4637, allocations: 1.321 MB / 0.5688 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007251/0.4709, allocations: 4.988 MB / 0.5737 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.471, allocations: 0 / 0.5737 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.471, allocations: 4 kB / 0.5737 GB, free: 2.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001222/0.4711, allocations: 0 / 0.5737 GB, free: 2.539 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.005883/0.477, allocations: 3.795 MB / 0.5774 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.477, allocations: 8.031 kB / 0.5774 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.4778, allocations: 494.1 kB / 0.5778 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.4804, allocations: 1.436 MB / 0.5793 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.4806, allocations: 242.8 kB / 0.5795 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.481, allocations: 319.9 kB / 0.5798 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006986/0.488, allocations: 4.712 MB / 0.5844 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.6e-05/0.4881, allocations: 23.81 kB / 0.5844 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.4883, allocations: 136 kB / 0.5845 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004125/0.4887, allocations: 357.7 kB / 0.5849 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005596/0.4943, allocations: 3.564 MB / 0.5884 GB, free: 2.965 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.02238/0.5167, allocations: 18.52 MB / 0.6064 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.518, allocations: 0.7091 MB / 0.6071 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.5187, allocations: 472.4 kB / 0.6076 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/0.5191, allocations: 77.56 kB / 0.6077 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.5191, allocations: 46.5 kB / 0.6077 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.756e-06/0.5191, allocations: 0 / 0.6077 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002956/0.5221, allocations: 1.525 MB / 0.6092 GB, free: 12.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.5222, allocations: 294.7 kB / 0.6095 GB, free: 12.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.5245, allocations: 1.588 MB / 0.611 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.5245, allocations: 29.7 kB / 0.6111 GB, free: 10.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.526, allocations: 1.797 MB / 0.6128 GB, free: 9.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.5261, allocations: 115.1 kB / 0.6129 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.5264, allocations: 174.5 kB / 0.6131 GB, free: 8.785 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5265, allocations: 334 kB / 0.6134 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/0.5272, allocations: 461.8 kB / 0.6138 GB, free: 8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5283, allocations: 0.872 MB / 0.6147 GB, free: 6.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.5301, allocations: 1.388 MB / 0.6161 GB, free: 5.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.5301, allocations: 4 kB / 0.6161 GB, free: 5.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00247/0.5326, allocations: 1.506 MB / 0.6175 GB, free: 3.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.5326, allocations: 12 kB / 0.6175 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.5327, allocations: 12 kB / 0.6175 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.5329, allocations: 65.69 kB / 0.6176 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.5335, allocations: 199.7 kB / 0.6178 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.5357, allocations: 2.548 MB / 0.6203 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/0.5365, allocations: 103.6 kB / 0.6204 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.5366, allocations: 67.98 kB / 0.6205 GB, free: 0.6016 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.001493/0.5381, allocations: 0.7629 MB / 0.6212 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.5385, allocations: 162.9 kB / 0.6214 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.5403, allocations: 0.8931 MB / 0.6222 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.5403, allocations: 4 kB / 0.6222 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5403, allocations: 11.92 kB / 0.6222 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.5403, allocations: 4 kB / 0.6222 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.543, allocations: 1.475 MB / 0.6237 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.543, allocations: 4 kB / 0.6237 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.5433, allocations: 71.89 kB / 0.6238 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.5435, allocations: 49.97 kB / 0.6238 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.5435, allocations: 12 kB / 0.6238 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.5456, allocations: 2.52 MB / 0.6263 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5456, allocations: 0 / 0.6263 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.5477, allocations: 1.822 MB / 0.6281 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.548, allocations: 162.8 kB / 0.6282 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.5482, allocations: 11.94 kB / 0.6282 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.5488, allocations: 19.98 kB / 0.6282 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5489, allocations: 39.88 kB / 0.6283 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.5489, allocations: 12 kB / 0.6283 GB, free: 8.273 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.5509, allocations: 1.295 MB / 0.6296 GB, free: 6.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5509, allocations: 3.938 kB / 0.6296 GB, free: 6.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002348/0.5532, allocations: 0.7503 MB / 0.6303 GB, free: 6.23 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.000427/0.5536, allocations: 221.2 kB / 0.6305 GB, free: 6.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.5556, allocations: 1.051 MB / 0.6315 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5556, allocations: 0 / 0.6315 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.5564, allocations: 0.5018 MB / 0.632 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.5586, allocations: 343.6 kB / 0.6323 GB, free: 4.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/0.5683, allocations: 5.371 MB / 0.6376 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/0.5703, allocations: 1.453 MB / 0.639 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.5706, allocations: 79.42 kB / 0.6391 GB, free: 13.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5706, allocations: 0 / 0.6391 GB, free: 13.07 MB / 494.1 MB Notification: Performance of Templates: time 0.07739/0.648, allocations: 59.32 MB / 0.697 GB, free: 1.734 MB / 0.5294 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: 11.390045908978209] Failed to read output from testmodel.py, exit status != 0: 0.6571240600314923 0.671626099 0.197421903 Calling exit ...