Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001895/0.001895, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 92.52 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.82/0.82, allocations: 90.35 MB / 405 MB, free: 8.633 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.361e-05, allocations: 4 kB / 479.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4013, allocations: 66.25 MB / 0.5327 GB, free: 28.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.904/3.305, allocations: 1.223 GB / 1.755 GB, free: 46.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/3.305, allocations: 89.38 kB / 1.755 GB, free: 46.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.723/9.028, allocations: 1.331 GB / 3.086 GB, free: 45.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.325e-06/9.028, allocations: 0 / 3.086 GB, free: 45.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005989/9.029, allocations: 118.8 kB / 3.087 GB, free: 45.49 MB / 0.6511 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.02211/9.051, allocations: 5.322 MB / 3.092 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/9.051, allocations: 9.219 kB / 3.092 GB, free: 43.57 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00268/9.054, allocations: 0.5482 MB / 3.092 GB, free: 43.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/9.066, allocations: 1.072 MB / 3.093 GB, free: 43.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008076/9.074, allocations: 2.09 MB / 3.095 GB, free: 42.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005673/9.074, allocations: 320.2 kB / 3.096 GB, free: 42.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/9.077, allocations: 428.4 kB / 3.096 GB, free: 42.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/9.093, allocations: 5.063 MB / 3.101 GB, free: 42.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/9.093, allocations: 1.594 kB / 3.101 GB, free: 42.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/9.095, allocations: 168.6 kB / 3.101 GB, free: 42.37 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/9.095, allocations: 241.7 kB / 3.101 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009592/9.105, allocations: 4.496 MB / 3.106 GB, free: 42.34 MB / 0.6511 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.04645/9.151, allocations: 25.22 MB / 3.13 GB, free: 28.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007674/9.159, allocations: 3.85 MB / 3.134 GB, free: 27.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004545/9.163, allocations: 2.304 MB / 3.136 GB, free: 27.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0225/9.186, allocations: 11.3 MB / 3.148 GB, free: 21.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/9.186, allocations: 110.3 kB / 3.148 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=462): time 1.645e-05/9.186, allocations: 0 / 3.148 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=462): time 0.01331/9.2, allocations: 4.98 MB / 3.152 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/9.2, allocations: 253 kB / 3.153 GB, free: 20.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/9.204, allocations: 1.598 MB / 3.154 GB, free: 20.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000995/9.205, allocations: 108.5 kB / 3.154 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/9.207, allocations: 1.501 MB / 3.156 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00216/9.209, allocations: 1.58 MB / 3.157 GB, free: 18.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006487/9.21, allocations: 83.97 kB / 3.157 GB, free: 18.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003995/9.21, allocations: 478.3 kB / 3.158 GB, free: 18.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/9.214, allocations: 1.726 MB / 3.16 GB, free: 18.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004139/9.218, allocations: 2.348 MB / 3.162 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/9.222, allocations: 2.045 MB / 3.164 GB, free: 16.78 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-05/9.222, allocations: 6.094 kB / 3.164 GB, free: 16.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01382/9.236, allocations: 5.441 MB / 3.169 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/9.236, allocations: 9.719 kB / 3.169 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.46e-05/9.236, allocations: 14.56 kB / 3.169 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/9.238, allocations: 0.5318 MB / 3.17 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/9.242, allocations: 0.8603 MB / 3.171 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/9.265, allocations: 24.12 MB / 3.194 GB, free: 22.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/9.271, allocations: 0.4909 MB / 3.195 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/9.273, allocations: 258.2 kB / 3.195 GB, free: 22.18 MB / 0.6823 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.002906/9.276, allocations: 343.5 kB / 3.195 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002952/9.279, allocations: 363.2 kB / 3.196 GB, free: 21.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/9.297, allocations: 6.123 MB / 3.202 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002012/9.297, allocations: 59.78 kB / 3.202 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000111/9.297, allocations: 10.41 kB / 3.202 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000121/9.297, allocations: 26.08 kB / 3.202 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/9.327, allocations: 10.83 MB / 3.212 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-05/9.327, allocations: 7.547 kB / 3.212 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/9.331, allocations: 0.7155 MB / 3.213 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/9.334, allocations: 0.9524 MB / 3.214 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/9.336, allocations: 159.1 kB / 3.214 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/9.364, allocations: 29.61 MB / 3.243 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/9.364, allocations: 3.719 kB / 3.243 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03169/9.396, allocations: 8.912 MB / 3.252 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/9.398, allocations: 471.6 kB / 3.252 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002195/9.401, allocations: 94.55 kB / 3.252 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/9.411, allocations: 392 kB / 3.253 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/9.413, allocations: 375.1 kB / 3.253 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001789/9.415, allocations: 253.9 kB / 3.253 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004388/9.42, allocations: 1.21 MB / 3.254 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.12e-07/9.42, allocations: 0 / 3.254 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01998/9.44, allocations: 2.983 MB / 3.257 GB, free: 10.18 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.6085/10.05, allocations: 15.44 MB / 3.272 GB, free: 98.34 MB / 0.7136 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.01536/10.06, allocations: 7.118 MB / 3.279 GB, free: 96.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.418e-05/10.06, allocations: 9.781 kB / 3.279 GB, free: 96.27 MB / 0.7136 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.009368/10.07, allocations: 5.106 MB / 3.284 GB, free: 94.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008038/10.08, allocations: 1.159 MB / 3.285 GB, free: 94.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0827/10.16, allocations: 31.54 MB / 3.316 GB, free: 91.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/10.17, allocations: 2.446 MB / 3.319 GB, free: 91.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007379/10.18, allocations: 0.9914 MB / 3.32 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004316/10.18, allocations: 1.83 MB / 3.321 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.224e-06/10.18, allocations: 0.6562 kB / 3.321 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3026/10.48, allocations: 170 MB / 3.487 GB, free: 36.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/10.48, allocations: 251.2 kB / 3.488 GB, free: 35.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.75/20.23, allocations: 3.938 kB / 3.488 GB, free: 35.72 MB / 0.7136 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat does not exist to compare? outputFormat=mat