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.001464/0.001464, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 229.6 MB, free: 7.605 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.0009624/0.0009622, allocations: 90.98 kB / 280.5 MB, free: 5.348 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.01074/0.01073, allocations: 1.571 MB / 332.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7783/0.7783, allocations: 90.05 MB / 474 MB, free: 13.05 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 3.125 kB / 0.5376 GB, free: 33.01 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1436, allocations: 69.37 MB / 0.6053 GB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.005/3.149, allocations: 1.183 GB / 1.789 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/3.149, allocations: 88.73 kB / 1.789 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.765/7.914, allocations: 1.27 GB / 3.059 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.304e-06/7.914, allocations: 4 kB / 3.059 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000374/7.915, allocations: 116 kB / 3.059 GB, free: 3.363 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.6392/8.554, allocations: 5.413 MB / 3.064 GB, free: 38.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/8.554, allocations: 10.06 kB / 3.064 GB, free: 38.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/8.566, allocations: 1.069 MB / 3.065 GB, free: 38.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007126/8.573, allocations: 2.098 MB / 3.067 GB, free: 38.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/8.574, allocations: 139.5 kB / 3.067 GB, free: 38.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/8.576, allocations: 254.3 kB / 3.067 GB, free: 38.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01379/8.589, allocations: 4.282 MB / 3.072 GB, free: 38.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/8.608, allocations: 4.526 MB / 3.076 GB, free: 37.72 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/8.608, allocations: 1.875 kB / 3.076 GB, free: 37.72 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007768/8.609, allocations: 10.97 kB / 3.076 GB, free: 37.72 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004463/8.609, allocations: 239 kB / 3.076 GB, free: 37.72 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.04557/8.655, allocations: 24.52 MB / 3.1 GB, free: 23.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008053/8.663, allocations: 3.69 MB / 3.104 GB, free: 23.55 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004566/8.667, allocations: 2.185 MB / 3.106 GB, free: 23.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02328/8.691, allocations: 10.53 MB / 3.116 GB, free: 33.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/8.691, allocations: 106.3 kB / 3.116 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=462): time 1.323e-05/8.691, allocations: 1.531 kB / 3.116 GB, free: 33.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=462): time 0.02014/8.711, allocations: 5.346 MB / 3.122 GB, free: 32.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002782/8.712, allocations: 253.8 kB / 3.122 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00487/8.716, allocations: 1.295 MB / 3.123 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/8.718, allocations: 29.05 kB / 3.123 GB, free: 32.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/8.72, allocations: 1.512 MB / 3.125 GB, free: 31.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002645/8.722, allocations: 1.524 MB / 3.126 GB, free: 30.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/8.724, allocations: 1.625 kB / 3.126 GB, free: 30.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0006271/8.724, allocations: 478.6 kB / 3.126 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00459/8.729, allocations: 1.646 MB / 3.128 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/8.733, allocations: 2.249 MB / 3.13 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009301/8.743, allocations: 2.558 MB / 3.133 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.417e-05/8.743, allocations: 7.844 kB / 3.133 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.02211/8.765, allocations: 5.688 MB / 3.138 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/8.765, allocations: 12.44 kB / 3.138 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-05/8.765, allocations: 15.84 kB / 3.138 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/8.767, allocations: 0.5193 MB / 3.139 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/8.771, allocations: 0.8683 MB / 3.14 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/8.79, allocations: 23.27 MB / 3.162 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/8.796, allocations: 397.2 kB / 3.163 GB, free: 23.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00215/8.798, allocations: 255.1 kB / 3.163 GB, free: 23.68 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.002949/8.801, allocations: 189.8 kB / 3.163 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01794/8.819, allocations: 5.358 MB / 3.168 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/8.821, allocations: 338.2 kB / 3.169 GB, free: 22.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/8.842, allocations: 6.994 MB / 3.176 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001756/8.842, allocations: 66.05 kB / 3.176 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/8.842, allocations: 9.281 kB / 3.176 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001215/8.842, allocations: 27.17 kB / 3.176 GB, free: 22.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/8.87, allocations: 10.64 MB / 3.186 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/8.87, allocations: 3.719 kB / 3.186 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/8.873, allocations: 0.7186 MB / 3.187 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/8.876, allocations: 0.8792 MB / 3.188 GB, free: 20.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009119/8.877, allocations: 125.8 kB / 3.188 GB, free: 20.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/8.901, allocations: 28.78 MB / 3.216 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/8.901, allocations: 5.562 kB / 3.216 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02162/8.922, allocations: 9.111 MB / 3.225 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/8.924, allocations: 448.8 kB / 3.225 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/8.925, allocations: 22.97 kB / 3.225 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006155/8.931, allocations: 311.3 kB / 3.226 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/8.933, allocations: 374.4 kB / 3.226 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001369/8.934, allocations: 266.2 kB / 3.226 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001935/8.936, allocations: 0.9405 MB / 3.227 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/8.936, allocations: 0 / 3.227 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01011/8.946, allocations: 2.305 MB / 3.229 GB, free: 7.57 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.03248/8.979, allocations: 15 MB / 3.244 GB, free: 19.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_Outlet$source4$outlet_Medium_ThermodynamicState210.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source5$outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created initialization part: time 0.01181/8.991, allocations: 6.82 MB / 3.251 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.101e-05/8.991, allocations: 3.812 kB / 3.251 GB, free: 17.13 MB / 0.7292 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source4$outlet_Medium_ThermodynamicState933.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source5$outlet_Medium_ThermodynamicState945.X Notification: Performance of simCode: created simulation system equations: time 0.008228/8.999, allocations: 4.921 MB / 3.255 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007144/9.006, allocations: 1.001 MB / 3.256 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06626/9.073, allocations: 31.08 MB / 3.287 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/9.075, allocations: 2.441 MB / 3.289 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005369/9.08, allocations: 1.322 MB / 3.29 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002997/9.084, allocations: 1.832 MB / 3.292 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.412e-06/9.084, allocations: 0 / 3.292 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7776/9.861, allocations: 132.1 MB / 3.421 GB, free: 90 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/9.861, allocations: 184.6 kB / 3.421 GB, free: 89.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/17.53, allocations: 2.078 kB / 3.421 GB, free: 89.81 MB / 0.7292 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