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.001429/0.001429, allocations: 113 kB / 18.94 MB, free: 2.934 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.001719/0.001719, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.031 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.1456/0.1456, allocations: 23.89 MB / 336.3 MB, free: 11.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.002072/0.002072, allocations: 72.17 kB / 471.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4251, allocations: 59.87 MB / 0.5191 GB, free: 9.832 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.05449/0.4795, allocations: 34.76 MB / 0.5531 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.4951, allocations: 6.139 MB / 0.5591 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005328/0.5004, allocations: 51.69 kB / 0.5591 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005646/0.506, allocations: 1.277 MB / 0.5604 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005922/0.512, allocations: 1.006 MB / 0.5613 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.5143, allocations: 446.6 kB / 0.5618 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007099/0.5214, allocations: 2.652 MB / 0.5644 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.5235, allocations: 1.003 MB / 0.5653 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.5258, allocations: 1.142 MB / 0.5665 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.5279, allocations: 1.293 MB / 0.5677 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.5283, allocations: 280 kB / 0.568 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.5319, allocations: 1.315 MB / 0.5693 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008713/0.5328, allocations: 0.8173 MB / 0.5701 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.5349, allocations: 1.772 MB / 0.5718 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008728/0.5437, allocations: 5.14 MB / 0.5768 GB, free: 14.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.5437, allocations: 0 / 0.5768 GB, free: 14.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5437, allocations: 0 / 0.5768 GB, free: 14.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.5438, allocations: 0 / 0.5768 GB, free: 14.85 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.006588/0.5504, allocations: 3.787 MB / 0.5805 GB, free: 11.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5505, allocations: 12.03 kB / 0.5805 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.5514, allocations: 498.1 kB / 0.581 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.554, allocations: 1.428 MB / 0.5824 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.5543, allocations: 242.8 kB / 0.5826 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.5547, allocations: 319.9 kB / 0.5829 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/0.5622, allocations: 4.708 MB / 0.5875 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.118e-05/0.5623, allocations: 19.81 kB / 0.5875 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.5626, allocations: 147.9 kB / 0.5877 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004106/0.563, allocations: 349.8 kB / 0.588 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005809/0.5688, allocations: 3.57 MB / 0.5915 GB, free: 15.29 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.02538/0.5941, allocations: 21.22 MB / 0.6122 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.5955, allocations: 0.713 MB / 0.6129 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.5962, allocations: 464.4 kB / 0.6134 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.5966, allocations: 89.48 kB / 0.6135 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.5966, allocations: 50.5 kB / 0.6135 GB, free: 7.895 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.5966, allocations: 0 / 0.6135 GB, free: 7.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003298/0.5999, allocations: 1.704 MB / 0.6152 GB, free: 6.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.6001, allocations: 294.7 kB / 0.6154 GB, free: 5.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00618/0.6063, allocations: 4.232 MB / 0.6196 GB, free: 1.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.6064, allocations: 29.7 kB / 0.6196 GB, free: 1.535 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.6081, allocations: 1.763 MB / 0.6213 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.6083, allocations: 119 kB / 0.6214 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.6085, allocations: 158.6 kB / 0.6216 GB, free: 15.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6087, allocations: 334 kB / 0.6219 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.6094, allocations: 469.7 kB / 0.6224 GB, free: 14.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.6105, allocations: 0.8681 MB / 0.6232 GB, free: 13.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.6124, allocations: 1.398 MB / 0.6246 GB, free: 12.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6124, allocations: 7.938 kB / 0.6246 GB, free: 12.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003186/0.6156, allocations: 1.688 MB / 0.6262 GB, free: 10.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.6156, allocations: 12 kB / 0.6262 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.6157, allocations: 16 kB / 0.6263 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/0.6159, allocations: 61.69 kB / 0.6263 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.6165, allocations: 199.9 kB / 0.6265 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.6188, allocations: 2.597 MB / 0.629 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.6205, allocations: 360.5 kB / 0.6294 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6206, allocations: 67.98 kB / 0.6295 GB, free: 6.77 MB / 478.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.001546/0.6222, allocations: 0.7635 MB / 0.6302 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/0.6228, allocations: 357.6 kB / 0.6305 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.6249, allocations: 1.055 MB / 0.6316 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6249, allocations: 4 kB / 0.6316 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6249, allocations: 4 kB / 0.6316 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.6249, allocations: 4 kB / 0.6316 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.6286, allocations: 2.195 MB / 0.6337 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6286, allocations: 4 kB / 0.6337 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.6289, allocations: 75.89 kB / 0.6338 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.6291, allocations: 49.62 kB / 0.6338 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.6291, allocations: 12 kB / 0.6339 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.6313, allocations: 2.582 MB / 0.6364 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6313, allocations: 0 / 0.6364 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.6337, allocations: 2.02 MB / 0.6384 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.6349, allocations: 465.4 kB / 0.6388 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/0.6352, allocations: 8 kB / 0.6388 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/0.6361, allocations: 19.98 kB / 0.6388 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.6362, allocations: 43.83 kB / 0.6389 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.6362, allocations: 15.98 kB / 0.6389 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004974/0.6412, allocations: 3.184 MB / 0.642 GB, free: 9.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6412, allocations: 0 / 0.642 GB, free: 9.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002163/0.6434, allocations: 0.5343 MB / 0.6425 GB, free: 9.035 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.0004214/0.6438, allocations: 210 kB / 0.6427 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.6456, allocations: 1.054 MB / 0.6437 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6456, allocations: 8.188 kB / 0.6438 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007359/0.6464, allocations: 0.4971 MB / 0.6442 GB, free: 7.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/0.6503, allocations: 0.7971 MB / 0.645 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009421/0.6598, allocations: 5.591 MB / 0.6505 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.6618, allocations: 2.003 MB / 0.6524 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001378/0.6631, allocations: 392.9 kB / 0.6528 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.6635, allocations: 171.4 kB / 0.653 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.6635, allocations: 0 / 0.653 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.06772/0.7313, allocations: 35.69 MB / 0.6878 GB, free: 10.61 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: 6.377735917922109] Failed to read output from testmodel.py, exit status != 0: 0.7405719528906047 0.75494114 0.20801955000000003 Calling exit ...