Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008407/0.008407, allocations: 170.2 kB / 15.11 MB, free: 6.027 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.627/1.627, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009812/0.0009815, allocations: 98.09 kB / 290.2 MB, free: 13.94 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.01096/0.01096, allocations: 1.557 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.8589/0.8589, allocations: 90.3 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000613/0.0006135, allocations: 21.59 kB / 0.5526 GB, free: 30.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.177, allocations: 69.35 MB / 0.6203 GB, free: 5.641 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.416/1.593, allocations: 457.4 MB / 1.067 GB, free: 85.71 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.593, allocations: 93.45 kB / 1.067 GB, free: 85.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8495/2.443, allocations: 177.6 MB / 1.24 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.707e-06/2.443, allocations: 3.938 kB / 1.24 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001342/2.443, allocations: 24 kB / 1.241 GB, free: 159.2 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004951/2.448, allocations: 1.542 MB / 1.242 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/2.448, allocations: 11.98 kB / 1.242 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/2.449, allocations: 154.5 kB / 1.242 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/2.45, allocations: 0.591 MB / 1.243 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/2.451, allocations: 69.98 kB / 1.243 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/2.451, allocations: 95.91 kB / 1.243 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/2.453, allocations: 1.063 MB / 1.244 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/2.453, allocations: 3.953 kB / 1.244 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/2.453, allocations: 36 kB / 1.244 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/2.453, allocations: 28 kB / 1.244 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/2.455, allocations: 1.032 MB / 1.245 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006486/2.461, allocations: 5.152 MB / 1.25 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/2.464, allocations: 1.186 MB / 1.251 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00354/2.467, allocations: 2.751 MB / 1.254 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/2.467, allocations: 43.5 kB / 1.254 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 3.897e-06/2.467, allocations: 3.938 kB / 1.254 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=129): time 0.01131/2.479, allocations: 5.051 MB / 1.259 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/2.479, allocations: 98.14 kB / 1.259 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/2.48, allocations: 471.3 kB / 1.259 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/2.48, allocations: 49.7 kB / 1.259 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/2.48, allocations: 387.6 kB / 1.26 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/2.48, allocations: 445.8 kB / 1.26 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/2.48, allocations: 24 kB / 1.26 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001993/2.481, allocations: 402.7 kB / 1.261 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/2.482, allocations: 458.4 kB / 1.261 GB, free: 137 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/2.483, allocations: 0.6044 MB / 1.262 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/2.484, allocations: 0.5168 MB / 1.262 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/2.484, allocations: 4 kB / 1.262 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003212/2.487, allocations: 1.566 MB / 1.264 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/2.487, allocations: 8 kB / 1.264 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/2.487, allocations: 0 / 1.264 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/2.488, allocations: 306.3 kB / 1.264 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/2.489, allocations: 243.7 kB / 1.264 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/2.497, allocations: 11.3 MB / 1.275 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/2.498, allocations: 79.91 kB / 1.275 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/2.498, allocations: 59.97 kB / 1.275 GB, free: 121.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (127): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007789/2.499, allocations: 236.6 kB / 1.276 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/2.499, allocations: 90.88 kB / 1.276 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/2.503, allocations: 1.755 MB / 1.277 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/2.503, allocations: 19.98 kB / 1.277 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/2.503, allocations: 4 kB / 1.277 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/2.504, allocations: 7.969 kB / 1.277 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/2.509, allocations: 2.983 MB / 1.28 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/2.509, allocations: 0 / 1.28 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000967/2.51, allocations: 243.8 kB / 1.281 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/2.511, allocations: 310.4 kB / 1.281 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/2.511, allocations: 43.97 kB / 1.281 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00765/2.519, allocations: 11.28 MB / 1.292 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/2.519, allocations: 4.031 kB / 1.292 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/2.524, allocations: 2.436 MB / 1.294 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/2.525, allocations: 163.9 kB / 1.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/2.525, allocations: 31.98 kB / 1.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/2.526, allocations: 95.83 kB / 1.295 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/2.526, allocations: 120.8 kB / 1.295 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/2.526, allocations: 47.91 kB / 1.295 GB, free: 100 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005371/2.527, allocations: 375.1 kB / 1.295 GB, free: 99.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.527, allocations: 4 kB / 1.295 GB, free: 99.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002437/2.529, allocations: 431.8 kB / 1.296 GB, free: 99.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,boundary_rear.fore.m_flow,boundary_fore.rear.m_flow,reservoir2.M,reservoir2.U_med,source1.outlet.m_flow,sink1.inlet.m_flow) * 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 (114): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000842/2.53, allocations: 385.6 kB / 1.296 GB, free: 98.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003547/2.534, allocations: 2.239 MB / 1.298 GB, free: 96.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/2.534, allocations: 4 kB / 1.298 GB, free: 96.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/2.536, allocations: 1.708 MB / 1.3 GB, free: 94.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/2.538, allocations: 253.7 kB / 1.3 GB, free: 94.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/2.542, allocations: 2.944 MB / 1.303 GB, free: 91.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/2.543, allocations: 1.064 MB / 1.304 GB, free: 90.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008883/2.544, allocations: 191.8 kB / 1.304 GB, free: 90.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/2.544, allocations: 99.38 kB / 1.304 GB, free: 90.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.004e-06/2.544, allocations: 0 / 1.304 GB, free: 90.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.03131/2.575, allocations: 20.16 MB / 1.324 GB, free: 70.14 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1)