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.008846/0.008846, allocations: 171.2 kB / 15.11 MB, free: 5.973 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.579/1.579, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 95.75 kB / 290.2 MB, free: 4.535 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.01327/0.01327, allocations: 1.552 MB / 342.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8121/0.8121, allocations: 90.3 MB / 484.6 MB, free: 38.22 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.0006029, allocations: 23.94 kB / 0.5527 GB, free: 4.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.415, allocations: 69.34 MB / 0.6204 GB, free: 20.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.026/3.441, allocations: 1.184 GB / 1.804 GB, free: 178.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/3.441, allocations: 100.8 kB / 1.805 GB, free: 178.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.612/9.054, allocations: 1.283 GB / 3.087 GB, free: 50.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.437e-06/9.054, allocations: 3.469 kB / 3.087 GB, free: 50.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0006181/9.054, allocations: 122.8 kB / 3.088 GB, free: 50.21 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.02679/9.081, allocations: 5.777 MB / 3.093 GB, free: 47.97 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/9.081, allocations: 13.45 kB / 3.093 GB, free: 47.96 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003006/9.084, allocations: 0.5608 MB / 3.094 GB, free: 47.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/9.096, allocations: 1.085 MB / 3.095 GB, free: 47.64 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008342/9.105, allocations: 2.1 MB / 3.097 GB, free: 47.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000706/9.106, allocations: 319.1 kB / 3.097 GB, free: 47.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/9.108, allocations: 435.4 kB / 3.098 GB, free: 47.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/9.125, allocations: 5.152 MB / 3.103 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004024/9.126, allocations: 2.25 kB / 3.103 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/9.128, allocations: 176.1 kB / 3.103 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006011/9.129, allocations: 238.6 kB / 3.103 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/9.141, allocations: 4.602 MB / 3.108 GB, free: 46.69 MB / 0.6667 GB 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.04913/9.19, allocations: 25.25 MB / 3.132 GB, free: 32.36 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/9.198, allocations: 3.892 MB / 3.136 GB, free: 31.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02434/9.223, allocations: 10.66 MB / 3.146 GB, free: 23.63 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/9.223, allocations: 98.58 kB / 3.146 GB, free: 23.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=462): time 1.673e-05/9.223, allocations: 0 / 3.146 GB, free: 23.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=462): time 0.0269/9.25, allocations: 11.36 MB / 3.158 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/9.25, allocations: 260 kB / 3.158 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/9.255, allocations: 1.619 MB / 3.159 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001675/9.257, allocations: 108.8 kB / 3.16 GB, free: 15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001524/9.258, allocations: 1.504 MB / 3.161 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00276/9.261, allocations: 1.583 MB / 3.163 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/9.262, allocations: 83.97 kB / 3.163 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00052/9.263, allocations: 481.3 kB / 3.163 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/9.267, allocations: 1.767 MB / 3.165 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005224/9.272, allocations: 2.395 MB / 3.167 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00497/9.277, allocations: 2.078 MB / 3.169 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.61e-05/9.277, allocations: 3.562 kB / 3.169 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01483/9.292, allocations: 5.549 MB / 3.175 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/9.292, allocations: 11.28 kB / 3.175 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-05/9.293, allocations: 20.5 kB / 3.175 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/9.295, allocations: 0.5386 MB / 3.175 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004849/9.299, allocations: 0.8593 MB / 3.176 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/9.321, allocations: 24.29 MB / 3.2 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006493/9.327, allocations: 0.4955 MB / 3.2 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/9.329, allocations: 255.8 kB / 3.2 GB, free: 14.05 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 () * Number of clocked 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.005502/9.335, allocations: 0.7443 MB / 3.201 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003016/9.338, allocations: 366.4 kB / 3.201 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02468/9.363, allocations: 6.898 MB / 3.208 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001815/9.363, allocations: 64.72 kB / 3.208 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.481e-05/9.363, allocations: 7.75 kB / 3.208 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001701/9.363, allocations: 27.86 kB / 3.208 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/9.396, allocations: 10.92 MB / 3.219 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/9.396, allocations: 4 kB / 3.219 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003824/9.4, allocations: 0.7182 MB / 3.22 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004044/9.404, allocations: 0.9641 MB / 3.221 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/9.405, allocations: 172 kB / 3.221 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7425/10.15, allocations: 29.77 MB / 3.25 GB, free: 49.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/10.15, allocations: 6.562 kB / 3.25 GB, free: 49.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02707/10.17, allocations: 9.056 MB / 3.259 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/10.18, allocations: 477.5 kB / 3.259 GB, free: 47.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00173/10.18, allocations: 98.3 kB / 3.259 GB, free: 47.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007491/10.19, allocations: 381.3 kB / 3.26 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/10.19, allocations: 381.9 kB / 3.26 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001417/10.19, allocations: 254.7 kB / 3.26 GB, free: 47.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003355/10.19, allocations: 1.23 MB / 3.261 GB, free: 47.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.31e-07/10.19, allocations: 2.188 kB / 3.261 GB, free: 47.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01427/10.21, allocations: 2.483 MB / 3.264 GB, free: 47.18 MB / 0.698 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 () * Number of clocked 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.03478/10.24, allocations: 14.69 MB / 3.278 GB, free: 42.9 MB / 0.698 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source4_24outlet_Medium_ThermodynamicState210.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source5_24outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created initialization part: time 0.01537/10.26, allocations: 7.251 MB / 3.285 GB, free: 40.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/10.26, allocations: 6.281 kB / 3.285 GB, free: 40.77 MB / 0.698 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source4_24outlet_Medium_ThermodynamicState933.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces__omcQOutlet_24source5_24outlet_Medium_ThermodynamicState945.X Notification: Performance of simCode: created simulation system equations: time 0.01038/10.27, allocations: 5.18 MB / 3.29 GB, free: 38.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008967/10.28, allocations: 1.16 MB / 3.291 GB, free: 38.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1324/10.41, allocations: 61.41 MB / 3.351 GB, free: 17.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/10.41, allocations: 2.442 MB / 3.354 GB, free: 16.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008179/10.42, allocations: 1.348 MB / 3.355 GB, free: 16.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004569/10.43, allocations: 1.862 MB / 3.357 GB, free: 16.52 MB / 0.698 GB Notification: Performance of SimCode: time 4.067e-06/10.43, allocations: 0 / 3.357 GB, free: 16.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.946/11.37, allocations: 155.9 MB / 3.509 GB, free: 93.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/11.37, allocations: 259.8 kB / 3.51 GB, free: 93.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.267/20.64, allocations: 2.625 kB / 3.51 GB, free: 93.05 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