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.001447/0.001447, 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.001631/0.001631, allocations: 218.9 kB / 22.25 MB, free: 5.25 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.77 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.1333/0.1333, allocations: 23.93 MB / 336.4 MB, free: 10.89 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: "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Boundaries.Tests.TestBoundaries,fileNamePrefix="Chemical_master_Chemical_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [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.00197/0.00197, allocations: 71.89 kB / 471.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3191, allocations: 59.88 MB / 0.5186 GB, free: 9.52 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.08622/0.4053, allocations: 32.62 MB / 0.5505 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.4172, allocations: 5.547 MB / 0.5559 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.4202, allocations: 55.62 kB / 0.5559 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.4245, allocations: 1.195 MB / 0.5571 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.4284, allocations: 1.01 MB / 0.5581 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.4299, allocations: 434.8 kB / 0.5585 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004784/0.4347, allocations: 2.652 MB / 0.5611 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.4362, allocations: 1.007 MB / 0.5621 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.4378, allocations: 1.139 MB / 0.5632 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.4395, allocations: 1.296 MB / 0.5644 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003604/0.4399, allocations: 284 kB / 0.5647 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4416, allocations: 0.7406 MB / 0.5654 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000732/0.4423, allocations: 0.8096 MB / 0.5662 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.4437, allocations: 1.325 MB / 0.5675 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.4498, allocations: 4.992 MB / 0.5724 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4498, allocations: 0 / 0.5724 GB, free: 2.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4498, allocations: 0 / 0.5724 GB, free: 2.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.289e-05/0.4499, allocations: 0 / 0.5724 GB, free: 2.602 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.004974/0.4548, allocations: 3.795 MB / 0.5761 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4549, allocations: 12.03 kB / 0.5761 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000518/0.4554, allocations: 477.7 kB / 0.5766 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007694/0.4562, allocations: 494.1 kB / 0.577 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.4584, allocations: 1.432 MB / 0.5784 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.4586, allocations: 246.5 kB / 0.5787 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.459, allocations: 316 kB / 0.579 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006244/0.4652, allocations: 4.708 MB / 0.5836 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-05/0.4653, allocations: 23.81 kB / 0.5836 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.4656, allocations: 140 kB / 0.5837 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003782/0.4659, allocations: 353.8 kB / 0.5841 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.471, allocations: 3.571 MB / 0.5876 GB, free: 2.547 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.02061/0.4916, allocations: 19.94 MB / 0.607 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4928, allocations: 0.7091 MB / 0.6077 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.4934, allocations: 468.4 kB / 0.6082 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.4938, allocations: 81.56 kB / 0.6083 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.4939, allocations: 46.5 kB / 0.6083 GB, free: 12.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.515e-06/0.4939, allocations: 0 / 0.6083 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003047/0.4969, allocations: 1.712 MB / 0.61 GB, free: 10.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.4971, allocations: 294.7 kB / 0.6102 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/0.5027, allocations: 4.251 MB / 0.6144 GB, free: 6.188 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.5028, allocations: 33.7 kB / 0.6144 GB, free: 6.148 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.5044, allocations: 1.763 MB / 0.6162 GB, free: 4.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5045, allocations: 119.2 kB / 0.6163 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.5048, allocations: 162.5 kB / 0.6164 GB, free: 4.094 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5049, allocations: 337.9 kB / 0.6167 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.5056, allocations: 457.8 kB / 0.6172 GB, free: 3.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.5067, allocations: 0.8681 MB / 0.618 GB, free: 2.238 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.5084, allocations: 1.394 MB / 0.6194 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.5084, allocations: 7.938 kB / 0.6194 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002905/0.5113, allocations: 1.677 MB / 0.621 GB, free: 14.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.5113, allocations: 15.98 kB / 0.6211 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5114, allocations: 20.16 kB / 0.6211 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.5116, allocations: 57.7 kB / 0.6211 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.5122, allocations: 199.7 kB / 0.6213 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.5142, allocations: 2.593 MB / 0.6238 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.5157, allocations: 360.8 kB / 0.6242 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.993e-05/0.5158, allocations: 63.98 kB / 0.6243 GB, free: 11.4 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.001193/0.517, allocations: 0.7632 MB / 0.625 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/0.5176, allocations: 353.6 kB / 0.6253 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.5196, allocations: 1.067 MB / 0.6264 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.5196, allocations: 8.062 kB / 0.6264 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5196, allocations: 4 kB / 0.6264 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5196, allocations: 7.938 kB / 0.6264 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.5226, allocations: 1.809 MB / 0.6282 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.5226, allocations: 4.125 kB / 0.6282 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.523, allocations: 79.83 kB / 0.6282 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.5232, allocations: 49.62 kB / 0.6283 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.5232, allocations: 19.98 kB / 0.6283 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.5252, allocations: 2.547 MB / 0.6308 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.5252, allocations: 12.3 kB / 0.6308 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.5274, allocations: 2.016 MB / 0.6328 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.5284, allocations: 465.4 kB / 0.6332 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.5287, allocations: 16 kB / 0.6332 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.5296, allocations: 15.98 kB / 0.6333 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.5297, allocations: 43.83 kB / 0.6333 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.5298, allocations: 15.98 kB / 0.6333 GB, free: 1.777 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004498/0.5343, allocations: 3.181 MB / 0.6364 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5343, allocations: 4 kB / 0.6364 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001975/0.5362, allocations: 0.5303 MB / 0.6369 GB, free: 14.06 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.003195/0.5394, allocations: 2.703 MB / 0.6396 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.5414, allocations: 1.042 MB / 0.6406 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5414, allocations: 0 / 0.6406 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.5421, allocations: 0.5058 MB / 0.6411 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/0.5462, allocations: 0.7943 MB / 0.6419 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0469/0.5931, allocations: 29.92 MB / 0.6711 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/0.5956, allocations: 1.448 MB / 0.6725 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001261/0.5968, allocations: 400.9 kB / 0.6729 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/0.5987, allocations: 1.374 MB / 0.6742 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of SimCode: time 1.794e-06/0.5987, allocations: 4 kB / 0.6742 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3215/0.9202, allocations: 72.39 MB / 0.7449 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.03, allocations: 6.75 kB / 0.7449 GB, free: 179.4 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Boundaries_Tests_TestBoundaries.fmu > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.887794757989468] Failed to read output from testmodel.py, exit status != 0: 16.18894653901225 16.199322733 15.747286097 Calling exit ...