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.001349/0.001349, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001643/0.001643, allocations: 216 kB / 22.25 MB, free: 4.855 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.797 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.1429/0.1429, allocations: 24 MB / 336.4 MB, free: 10.88 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.002133/0.002133, allocations: 67.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 59.88 MB / 0.5187 GB, free: 9.473 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:621:5-621: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:621:5-621: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.07973/0.3999, allocations: 32.95 MB / 0.5509 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.4136, allocations: 5.583 MB / 0.5564 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.4175, allocations: 55.69 kB / 0.5564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.4224, allocations: 1.201 MB / 0.5576 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.4268, allocations: 1.022 MB / 0.5586 GB, free: 136 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.4289, allocations: 433.8 kB / 0.559 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005958/0.4349, allocations: 2.694 MB / 0.5616 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.4374, allocations: 0.9855 MB / 0.5626 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.4398, allocations: 1.155 MB / 0.5637 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.4419, allocations: 1.064 MB / 0.5647 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007332/0.4426, allocations: 292 kB / 0.565 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.4451, allocations: 0.7335 MB / 0.5657 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009351/0.446, allocations: 0.8208 MB / 0.5665 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.4483, allocations: 1.329 MB / 0.5678 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008727/0.457, allocations: 5.03 MB / 0.5728 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.457, allocations: 4 kB / 0.5728 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.457, allocations: 0 / 0.5728 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001981/0.4572, allocations: 4 kB / 0.5728 GB, free: 2.312 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.008092/0.4653, allocations: 3.822 MB / 0.5765 GB, free: 14.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4654, allocations: 8.031 kB / 0.5765 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006901/0.4661, allocations: 481.9 kB / 0.577 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/0.467, allocations: 0.4903 MB / 0.5774 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.4697, allocations: 1.432 MB / 0.5788 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.47, allocations: 250.6 kB / 0.5791 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.4704, allocations: 319.9 kB / 0.5794 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008009/0.4784, allocations: 4.77 MB / 0.584 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4785, allocations: 23.75 kB / 0.5841 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.4788, allocations: 144 kB / 0.5842 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004364/0.4792, allocations: 349.8 kB / 0.5845 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005986/0.4852, allocations: 3.59 MB / 0.588 GB, free: 2.133 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.02522/0.5104, allocations: 20.24 MB / 0.6078 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.5119, allocations: 0.7052 MB / 0.6085 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.5127, allocations: 464.5 kB / 0.6089 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.5132, allocations: 73.58 kB / 0.609 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.5132, allocations: 46.5 kB / 0.6091 GB, free: 11.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.845e-06/0.5132, allocations: 4 kB / 0.6091 GB, free: 11.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00372/0.5169, allocations: 1.711 MB / 0.6107 GB, free: 10.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.5171, allocations: 302.6 kB / 0.611 GB, free: 9.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007651/0.5248, allocations: 4.275 MB / 0.6152 GB, free: 5.445 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.974e-05/0.5249, allocations: 29.7 kB / 0.6152 GB, free: 5.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.5268, allocations: 1.787 MB / 0.617 GB, free: 3.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.527, allocations: 111.1 kB / 0.6171 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.5273, allocations: 174.5 kB / 0.6172 GB, free: 3.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5275, allocations: 330 kB / 0.6176 GB, free: 3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/0.5283, allocations: 469.8 kB / 0.618 GB, free: 2.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5295, allocations: 0.9026 MB / 0.6189 GB, free: 1.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.5316, allocations: 1.422 MB / 0.6203 GB, free: 15.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.5316, allocations: 4 kB / 0.6203 GB, free: 15.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003272/0.5348, allocations: 1.72 MB / 0.622 GB, free: 14.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5349, allocations: 12 kB / 0.622 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/0.5349, allocations: 23.94 kB / 0.622 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/0.5352, allocations: 57.69 kB / 0.622 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.5358, allocations: 211.6 kB / 0.6222 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.5383, allocations: 2.589 MB / 0.6248 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.5399, allocations: 360.9 kB / 0.6251 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5401, allocations: 71.98 kB / 0.6252 GB, free: 10.49 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.001443/0.5415, allocations: 0.7706 MB / 0.6259 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007482/0.5423, allocations: 357.6 kB / 0.6263 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.5448, allocations: 1.055 MB / 0.6273 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5449, allocations: 4 kB / 0.6273 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5449, allocations: 7.938 kB / 0.6273 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.5449, allocations: 7.938 kB / 0.6273 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.549, allocations: 1.821 MB / 0.6291 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.549, allocations: 4 kB / 0.6291 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.5494, allocations: 75.89 kB / 0.6292 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.5496, allocations: 45.97 kB / 0.6292 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.5496, allocations: 15.98 kB / 0.6292 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.5519, allocations: 2.559 MB / 0.6317 GB, free: 3.461 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5519, allocations: 7.938 kB / 0.6318 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.5544, allocations: 2.024 MB / 0.6337 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.5558, allocations: 465.4 kB / 0.6342 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/0.5564, allocations: 11.98 kB / 0.6342 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.5577, allocations: 19.98 kB / 0.6342 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5578, allocations: 35.89 kB / 0.6342 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.5579, allocations: 19.98 kB / 0.6343 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006483/0.5643, allocations: 3.189 MB / 0.6374 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5643, allocations: 0 / 0.6374 GB, free: 13.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002684/0.567, allocations: 0.5459 MB / 0.6379 GB, free: 13.11 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.00365/0.5707, allocations: 2.702 MB / 0.6405 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.5728, allocations: 1.055 MB / 0.6416 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.5728, allocations: 4 kB / 0.6416 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.5736, allocations: 0.5022 MB / 0.6421 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/0.5789, allocations: 0.8112 MB / 0.6429 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05303/0.6319, allocations: 30.1 MB / 0.6722 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/0.6341, allocations: 1.453 MB / 0.6737 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001351/0.6355, allocations: 393.1 kB / 0.674 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/0.6375, allocations: 1.401 MB / 0.6754 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.6375, allocations: 0 / 0.6754 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3464/0.9838, allocations: 72.4 MB / 0.7461 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.53, allocations: 5.031 kB / 0.7461 GB, free: 177.5 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.580214619170874] Failed to read output from testmodel.py, exit status != 0: 17.69252657983452 17.712731838 17.251509566 Calling exit ...