Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.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.TestVolumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",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.001553/0.001553, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.556/1.556, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 98.67 kB / 285.6 MB, free: 12.97 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.01278/0.01278, allocations: 1.558 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6169/0.6169, allocations: 90.04 MB / 479.4 MB, free: 2.961 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.301e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1621, allocations: 69.36 MB / 0.6123 GB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.164/3.326, allocations: 1.184 GB / 1.796 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/3.327, allocations: 87.95 kB / 1.796 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.023/9.349, allocations: 1.281 GB / 3.077 GB, free: 41.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.759e-06/9.35, allocations: 9.656 kB / 3.077 GB, free: 41.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004814/9.35, allocations: 113.3 kB / 3.077 GB, free: 41.5 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.02271/9.373, allocations: 5.432 MB / 3.082 GB, free: 39.85 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/9.373, allocations: 19.11 kB / 3.082 GB, free: 39.84 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001972/9.375, allocations: 0.5373 MB / 3.083 GB, free: 39.78 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/9.386, allocations: 1.078 MB / 3.084 GB, free: 39.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006685/9.393, allocations: 2.091 MB / 3.086 GB, free: 39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/9.393, allocations: 314.4 kB / 3.086 GB, free: 38.99 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/9.394, allocations: 435.8 kB / 3.087 GB, free: 38.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009928/9.404, allocations: 5.072 MB / 3.092 GB, free: 38.65 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.189e-05/9.405, allocations: 4.016 kB / 3.092 GB, free: 38.65 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005227/9.405, allocations: 171.5 kB / 3.092 GB, free: 38.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003672/9.405, allocations: 240.6 kB / 3.092 GB, free: 38.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007695/9.413, allocations: 4.509 MB / 3.096 GB, free: 38.61 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.04069/9.454, allocations: 25.25 MB / 3.121 GB, free: 24.31 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/9.461, allocations: 3.829 MB / 3.125 GB, free: 24.12 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/9.465, allocations: 2.308 MB / 3.127 GB, free: 24.05 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/9.482, allocations: 10.77 MB / 3.138 GB, free: 17.96 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/9.482, allocations: 95.66 kB / 3.138 GB, free: 17.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=462): time 8.556e-06/9.482, allocations: 0 / 3.138 GB, free: 17.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=462): time 0.01087/9.493, allocations: 5 MB / 3.143 GB, free: 17.38 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001025/9.494, allocations: 263 kB / 3.143 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/9.497, allocations: 1.603 MB / 3.144 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007318/9.498, allocations: 108.6 kB / 3.144 GB, free: 32.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009833/9.499, allocations: 1.5 MB / 3.146 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/9.5, allocations: 1.579 MB / 3.148 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/9.5, allocations: 84 kB / 3.148 GB, free: 31.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003053/9.501, allocations: 480.5 kB / 3.148 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/9.504, allocations: 1.73 MB / 3.15 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/9.507, allocations: 2.351 MB / 3.152 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/9.51, allocations: 2.044 MB / 3.154 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/9.51, allocations: 6.625 kB / 3.154 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01032/9.521, allocations: 5.452 MB / 3.159 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/9.521, allocations: 12.44 kB / 3.159 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/9.521, allocations: 13.12 kB / 3.159 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/9.522, allocations: 0.5435 MB / 3.16 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/9.526, allocations: 0.8573 MB / 3.161 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/9.545, allocations: 24.12 MB / 3.184 GB, free: 23.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/9.551, allocations: 0.4949 MB / 3.185 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/9.553, allocations: 259.3 kB / 3.185 GB, free: 22.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 468 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002905/9.556, allocations: 346.7 kB / 3.185 GB, free: 22.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/9.558, allocations: 360.8 kB / 3.186 GB, free: 22.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/9.578, allocations: 6.822 MB / 3.192 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001955/9.578, allocations: 62.69 kB / 3.192 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.172e-05/9.578, allocations: 8.188 kB / 3.192 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001613/9.578, allocations: 25.3 kB / 3.192 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03107/9.609, allocations: 10.85 MB / 3.203 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.674e-05/9.609, allocations: 8.062 kB / 3.203 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/9.613, allocations: 0.7163 MB / 3.204 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/9.617, allocations: 0.9568 MB / 3.205 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00134/9.618, allocations: 172 kB / 3.205 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/9.641, allocations: 29.6 MB / 3.234 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/9.641, allocations: 11.14 kB / 3.234 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/9.663, allocations: 8.933 MB / 3.242 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/9.665, allocations: 474.1 kB / 3.243 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001888/9.667, allocations: 91.75 kB / 3.243 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007469/9.674, allocations: 387.4 kB / 3.243 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001723/9.676, allocations: 377.6 kB / 3.244 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001502/9.678, allocations: 257.8 kB / 3.244 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002816/9.681, allocations: 1.206 MB / 3.245 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.42e-07/9.681, allocations: 0 / 3.245 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01625/9.697, allocations: 2.478 MB / 3.248 GB, free: 4.594 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 42 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume2.M,flexVolume2.U_med,flexVolume2.m_flow_in,volume1.M,volume1.U_med,heatportVolume1.M,heatportVolume1.U_med,heatportVolume1.m_flow_in,heatportVolume1.m_flow_out,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_rear,flexVolume1.m_flow_fore,volume.M,volume.U_med,volume.m_flow_rear,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,source4.outlet.m_flow,source5.outlet.m_flow,sink3.inlet.m_flow,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,boundary_rear2.fore.m_flow,boundary_rear3.fore.m_flow,boundary_rear4.fore.m_flow,heatportVolume.M,heatportVolume.U_med,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,heatportVolume2.M,heatportVolume2.U_med,flowResistance10.rear.m_flow,flowResistance11.rear.m_flow,heatportVolume3.M,heatportVolume3.U_med) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 356 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 28 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 10 {2 3,1 2,1 2,1 2,2 3,1 1,1 1,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.04123/9.738, allocations: 14.57 MB / 3.262 GB, free: 13.14 MB / 0.7292 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source424outlet_Medium_ThermodynamicState210.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source524outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created initialization part: time 0.01751/9.756, allocations: 7.15 MB / 3.269 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-05/9.756, allocations: 7.688 kB / 3.269 GB, free: 9.336 MB / 0.7292 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source424outlet_Medium_ThermodynamicState933.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_D_Outlet24source524outlet_Medium_ThermodynamicState945.X Notification: Performance of simCode: created simulation system equations: time 0.01186/9.768, allocations: 5.121 MB / 3.274 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01081/9.779, allocations: 1.155 MB / 3.275 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08417/9.863, allocations: 31.73 MB / 3.306 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/9.865, allocations: 2.443 MB / 3.308 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006129/9.871, allocations: 1.342 MB / 3.31 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003372/9.875, allocations: 1.857 MB / 3.311 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of SimCode: time 2.154e-06/9.875, allocations: 0 / 3.311 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9668/10.84, allocations: 161.8 MB / 3.469 GB, free: 95.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/10.84, allocations: 235.9 kB / 3.47 GB, free: 94.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.356/20.2, allocations: 0 / 3.47 GB, free: 94.98 MB / 0.7448 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat does not exist to compare? outputFormat=mat