Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0159/0.0159, allocations: 170 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.000918, allocations: 89.88 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009713/0.009712, allocations: 1.554 MB / 342.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8699/0.8699, allocations: 90.3 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005298/0.0005297, allocations: 18.94 kB / 0.5527 GB, free: 30.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1814, allocations: 69.37 MB / 0.6204 GB, free: 5.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.502, allocations: 433 MB / 1.043 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.503, allocations: 91.33 kB / 1.043 GB, free: 108 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1642/1.667, allocations: 89.38 MB / 1.131 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/1.667, allocations: 0 / 1.131 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.646e-05/1.667, allocations: 12.17 kB / 1.131 GB, free: 27.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001174/1.668, allocations: 0.7089 MB / 1.131 GB, free: 27.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.668, allocations: 11.98 kB / 1.131 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/1.668, allocations: 66.53 kB / 1.131 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/1.668, allocations: 43.44 kB / 1.131 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/1.669, allocations: 294.3 kB / 1.132 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/1.669, allocations: 20.56 kB / 1.132 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/1.669, allocations: 27.98 kB / 1.132 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/1.669, allocations: 307.7 kB / 1.132 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.669, allocations: 0 / 1.132 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/1.669, allocations: 12 kB / 1.132 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/1.669, allocations: 4 kB / 1.132 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/1.67, allocations: 220.2 kB / 1.132 GB, free: 26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/1.671, allocations: 1.58 MB / 1.134 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/1.672, allocations: 263.8 kB / 1.134 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/1.672, allocations: 457.6 kB / 1.135 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/1.672, allocations: 34.56 kB / 1.135 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.425e-06/1.672, allocations: 4 kB / 1.135 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0009749/1.673, allocations: 0.765 MB / 1.135 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/1.673, allocations: 106.8 kB / 1.135 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/1.673, allocations: 255.7 kB / 1.136 GB, free: 22.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.673, allocations: 29.7 kB / 1.136 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/1.673, allocations: 200 kB / 1.136 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/1.674, allocations: 78.81 kB / 1.136 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/1.674, allocations: 3.938 kB / 1.136 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.978e-05/1.674, allocations: 346.8 kB / 1.136 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/1.674, allocations: 88.19 kB / 1.136 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/1.674, allocations: 142.4 kB / 1.136 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/1.674, allocations: 104.2 kB / 1.137 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.674, allocations: 4 kB / 1.137 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005627/1.675, allocations: 326 kB / 1.137 GB, free: 20.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.675, allocations: 16.11 kB / 1.137 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.675, allocations: 7.891 kB / 1.137 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/1.675, allocations: 20.86 kB / 1.137 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/1.675, allocations: 51.91 kB / 1.137 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006968/1.676, allocations: 1.295 MB / 1.138 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/1.676, allocations: 40.02 kB / 1.138 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/1.676, allocations: 8 kB / 1.138 GB, free: 19.19 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.676, allocations: 141.8 kB / 1.138 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/1.676, allocations: 31.62 kB / 1.138 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/1.677, allocations: 333.2 kB / 1.139 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.677, allocations: 0 / 1.139 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.677, allocations: 8 kB / 1.139 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.677, allocations: 0 / 1.139 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/1.677, allocations: 353.3 kB / 1.139 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.677, allocations: 0 / 1.139 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/1.678, allocations: 39.92 kB / 1.139 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-05/1.678, allocations: 24.8 kB / 1.139 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.678, allocations: 11.98 kB / 1.139 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005966/1.678, allocations: 1.295 MB / 1.14 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.678, allocations: 256 / 1.14 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/1.679, allocations: 0.6598 MB / 1.141 GB, free: 16.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/1.679, allocations: 104.7 kB / 1.141 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/1.679, allocations: 19.94 kB / 1.141 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.679, allocations: 15.91 kB / 1.141 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/1.679, allocations: 19.97 kB / 1.141 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.679, allocations: 11.98 kB / 1.141 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001439/1.68, allocations: 199.1 kB / 1.141 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/1.68, allocations: 0 / 1.141 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000518/1.68, allocations: 119.8 kB / 1.142 GB, free: 15.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_rear.fore.m_flow,terminal_rear.p,terminal_fore.p) * 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 (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/1.681, allocations: 1.536 MB / 1.143 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006045/1.682, allocations: 381.6 kB / 1.143 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.682, allocations: 0 / 1.143 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/1.682, allocations: 268.3 kB / 1.144 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/1.683, allocations: 90.41 kB / 1.144 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.686, allocations: 2.964 MB / 1.147 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/1.686, allocations: 0.7875 MB / 1.147 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001514/1.686, allocations: 42.22 kB / 1.148 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/1.686, allocations: 111.4 kB / 1.148 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/1.686, allocations: 0 / 1.148 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3501/2.036, allocations: 10.49 MB / 1.158 GB, free: 178.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/2.037, allocations: 217.6 kB / 1.158 GB, free: 178 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/4.597, allocations: 0 / 1.158 GB, free: 178 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat does not exist to compare? outputFormat=mat