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.01021/0.01021, allocations: 169 kB / 15.11 MB, free: 5.582 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.849/1.849, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001616/0.001616, allocations: 90.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9338/0.9338, allocations: 90.59 MB / 408.5 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003638, allocations: 11.98 kB / 485.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4558, allocations: 66.28 MB / 0.5387 GB, free: 45.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.007/3.463, allocations: 1.223 GB / 1.761 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/3.463, allocations: 91.95 kB / 1.761 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.943/9.406, allocations: 1.333 GB / 3.095 GB, free: 35.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.576e-06/9.406, allocations: 0 / 3.095 GB, free: 35.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005014/9.407, allocations: 120.6 kB / 3.095 GB, free: 35.35 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.02499/9.432, allocations: 5.639 MB / 3.101 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/9.432, allocations: 9.031 kB / 3.101 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002929/9.435, allocations: 0.5531 MB / 3.101 GB, free: 33.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/9.447, allocations: 1.077 MB / 3.102 GB, free: 33.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00767/9.455, allocations: 2.11 MB / 3.104 GB, free: 32.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/9.455, allocations: 313.7 kB / 3.104 GB, free: 32.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/9.457, allocations: 430 kB / 3.105 GB, free: 32.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/9.469, allocations: 5.139 MB / 3.11 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.242e-05/9.469, allocations: 5.625 kB / 3.11 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007297/9.47, allocations: 168.7 kB / 3.11 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/9.47, allocations: 239.3 kB / 3.11 GB, free: 32.47 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008043/9.478, allocations: 4.593 MB / 3.115 GB, free: 32.44 MB / 0.6511 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.04831/9.526, allocations: 25.23 MB / 3.139 GB, free: 18.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009165/9.536, allocations: 3.904 MB / 3.143 GB, free: 17.94 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02315/9.559, allocations: 11.18 MB / 3.154 GB, free: 27.39 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.514e-05/9.559, allocations: 104.9 kB / 3.154 GB, free: 27.35 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=462): time 8.666e-06/9.559, allocations: 0 / 3.154 GB, free: 27.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=462): time 0.0267/9.586, allocations: 11.35 MB / 3.165 GB, free: 22.08 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002118/9.586, allocations: 252.9 kB / 3.166 GB, free: 21.83 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/9.59, allocations: 1.62 MB / 3.167 GB, free: 21.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001511/9.592, allocations: 110.2 kB / 3.167 GB, free: 21.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/9.593, allocations: 1.504 MB / 3.169 GB, free: 20.99 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002235/9.595, allocations: 1.581 MB / 3.17 GB, free: 19.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/9.596, allocations: 85.19 kB / 3.17 GB, free: 19.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003657/9.596, allocations: 476.3 kB / 3.171 GB, free: 19.65 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/9.6, allocations: 1.766 MB / 3.173 GB, free: 19.63 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/9.604, allocations: 2.39 MB / 3.175 GB, free: 19.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/9.608, allocations: 2.068 MB / 3.177 GB, free: 19.02 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/9.608, allocations: 5.656 kB / 3.177 GB, free: 19.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01216/9.62, allocations: 5.532 MB / 3.182 GB, free: 18.53 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/9.62, allocations: 13.09 kB / 3.182 GB, free: 18.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/9.621, allocations: 14.84 kB / 3.182 GB, free: 18.53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/9.622, allocations: 0.541 MB / 3.183 GB, free: 18.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/9.627, allocations: 0.8495 MB / 3.184 GB, free: 18.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/9.647, allocations: 24.29 MB / 3.207 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/9.654, allocations: 0.4919 MB / 3.208 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/9.656, allocations: 247.7 kB / 3.208 GB, free: 11.58 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 () * 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.004203/9.66, allocations: 0.7447 MB / 3.209 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/9.662, allocations: 369.3 kB / 3.209 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/9.677, allocations: 6.213 MB / 3.215 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/9.677, allocations: 59.16 kB / 3.215 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.947e-05/9.677, allocations: 14.08 kB / 3.215 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.551e-05/9.677, allocations: 23.34 kB / 3.215 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/9.705, allocations: 10.9 MB / 3.226 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-05/9.705, allocations: 3.5 kB / 3.226 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/9.708, allocations: 0.7103 MB / 3.227 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003872/9.712, allocations: 0.9687 MB / 3.228 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/9.713, allocations: 162 kB / 3.228 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.025/9.738, allocations: 29.78 MB / 3.257 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/9.738, allocations: 7.594 kB / 3.257 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/9.757, allocations: 9.027 MB / 3.266 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/9.76, allocations: 478.9 kB / 3.266 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/9.761, allocations: 90.56 kB / 3.266 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007013/9.768, allocations: 379.6 kB / 3.267 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/9.769, allocations: 378.4 kB / 3.267 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008166/9.77, allocations: 252.9 kB / 3.267 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002127/9.772, allocations: 1.23 MB / 3.268 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/9.772, allocations: 0 / 3.268 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01452/9.787, allocations: 2.981 MB / 3.271 GB, free: 10.67 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 () * 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.0322/9.819, allocations: 15.58 MB / 3.287 GB, free: 5.766 MB / 0.7136 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.01562/9.835, allocations: 7.233 MB / 3.294 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.807e-05/9.835, allocations: 10.52 kB / 3.294 GB, free: 1.953 MB / 0.7136 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.00997/9.845, allocations: 5.181 MB / 3.299 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008366/9.853, allocations: 1.146 MB / 3.3 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6387/10.49, allocations: 61.42 MB / 3.36 GB, free: 115.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/10.49, allocations: 2.445 MB / 3.362 GB, free: 114.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005991/10.5, allocations: 0.9936 MB / 3.363 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003918/10.5, allocations: 1.834 MB / 3.365 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.873e-06/10.5, allocations: 1.594 kB / 3.365 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/10.84, allocations: 163.5 MB / 3.525 GB, free: 97.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/10.84, allocations: 277.6 kB / 3.525 GB, free: 97.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.77/20.61, allocations: 0 / 3.525 GB, free: 97.32 MB / 0.7448 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