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: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_rear|flexVolume2.M|flexVolume2.U_med|flexVolume2.m_flow_in|flowResistance11.rear.m_flow|heatportVolume.M|heatportVolume.U_med|heatportVolume.m_flow_fore|heatportVolume.m_flow_rear|heatportVolume1.M|heatportVolume1.U_med|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_fore|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|volume.M|volume.U_med|volume.m_flow_rear|volume1.M|volume1.U_med|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix2.rear.1..m_flow|volumeMix2.rear.2..m_flow|volumeMix2.rear.3..m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009001/0.0009002, allocations: 170.6 kB / 16.11 MB, free: 5.688 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.149/1.149, allocations: 205 MB / 221.9 MB, free: 9.145 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.0006997/0.0006997, allocations: 96.08 kB / 269.9 MB, free: 8.668 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.5997/0.5997, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 8.219 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2175, allocations: 65.81 MB / 0.5378 GB, free: 34.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes): time 0.4654/0.683, allocations: 321.1 MB / 0.8514 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03544/0.7185, allocations: 32.97 MB / 0.8836 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.7225, allocations: 63.69 kB / 0.8836 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.005583/0.7281, allocations: 2.364 MB / 0.8859 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.7435, allocations: 6.894 MB / 0.8927 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01664/0.7601, allocations: 6.847 MB / 0.8994 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.7716, allocations: 12.28 MB / 0.9114 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.7731, allocations: 1.08 MB / 0.9124 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007553/0.7807, allocations: 4.191 MB / 0.9165 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.7856, allocations: 3.83 MB / 0.9202 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006045/0.7862, allocations: 196 kB / 0.9204 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3105/1.097, allocations: 13.29 MB / 0.9334 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/1.099, allocations: 1.168 MB / 0.9346 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003708/1.102, allocations: 2.38 MB / 0.9369 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02152/1.124, allocations: 11.47 MB / 0.9481 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.124, allocations: 0 / 0.9481 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/1.124, allocations: 0 / 0.9481 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.944e-05/1.124, allocations: 0 / 0.9481 GB, free: 16.3 MB / 0.6355 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.009935/1.134, allocations: 4.965 MB / 0.9529 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.134, allocations: 7.344 kB / 0.9529 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008808/1.143, allocations: 0.9699 MB / 0.9539 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/1.146, allocations: 2.017 MB / 0.9558 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/1.146, allocations: 313.8 kB / 0.9561 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/1.146, allocations: 433.7 kB / 0.9566 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007478/1.154, allocations: 5.323 MB / 0.9618 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.329e-05/1.154, allocations: 4.406 kB / 0.9618 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/1.154, allocations: 168.4 kB / 0.9619 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/1.155, allocations: 278.5 kB / 0.9622 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006561/1.161, allocations: 4.775 MB / 0.9669 GB, free: 13.09 MB / 0.6355 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.02749/1.189, allocations: 25.18 MB / 0.9914 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00545/1.194, allocations: 3.951 MB / 0.9953 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/1.197, allocations: 2.377 MB / 0.9976 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01279/1.21, allocations: 11.48 MB / 1.009 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/1.21, allocations: 98.47 kB / 1.009 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=463): time 8.326e-06/1.21, allocations: 3.984 kB / 1.009 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=463): time 0.01504/1.225, allocations: 9.669 MB / 1.018 GB, free: 20.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/1.225, allocations: 254.3 kB / 1.019 GB, free: 20.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/1.227, allocations: 1.899 MB / 1.02 GB, free: 19.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003578/1.228, allocations: 113.9 kB / 1.021 GB, free: 19.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000684/1.228, allocations: 1.494 MB / 1.022 GB, free: 19.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008423/1.229, allocations: 1.582 MB / 1.024 GB, free: 18.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/1.229, allocations: 87.81 kB / 1.024 GB, free: 18.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.229, allocations: 474.1 kB / 1.024 GB, free: 17.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/1.232, allocations: 1.797 MB / 1.026 GB, free: 17.87 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/1.235, allocations: 2.432 MB / 1.028 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/1.24, allocations: 4.496 MB / 1.033 GB, free: 16.67 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.24, allocations: 7.656 kB / 1.033 GB, free: 16.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.008467/1.249, allocations: 5.586 MB / 1.038 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.249, allocations: 14.28 kB / 1.038 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.249, allocations: 17.84 kB / 1.038 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/1.25, allocations: 0.5382 MB / 1.039 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/1.253, allocations: 0.8642 MB / 1.04 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.268, allocations: 24.19 MB / 1.063 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.271, allocations: 0.5088 MB / 1.064 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/1.272, allocations: 252.8 kB / 1.064 GB, free: 7.758 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001604/1.273, allocations: 0.7417 MB / 1.065 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009177/1.274, allocations: 355.7 kB / 1.065 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.285, allocations: 6.302 MB / 1.071 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-05/1.285, allocations: 19.92 kB / 1.071 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.285, allocations: 4 kB / 1.071 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/1.286, allocations: 470.4 kB / 1.072 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/1.287, allocations: 94.59 kB / 1.072 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003887/1.291, allocations: 361.2 kB / 1.072 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006106/1.291, allocations: 375.9 kB / 1.072 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01314/1.304, allocations: 6.568 MB / 1.079 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01232/1.317, allocations: 8.082 MB / 1.087 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003384/1.32, allocations: 2.255 MB / 1.089 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00169/1.322, allocations: 1.243 MB / 1.09 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of Backend: time 5.01e-07/1.322, allocations: 8 kB / 1.09 GB, free: 15.72 MB / 0.7136 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source4.outlet.state.X[1], source4.outlet.state.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_source4_outlet_Medium_ThermodynamicState215.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source5.outlet.state.X[1], source5.outlet.state.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_source5_outlet_Medium_ThermodynamicState221.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance4.rear.state_forwards.X[1], flowResistance4.rear.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_boundary__rear2_fore_Medium_ThermodynamicState313.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance7.rear.state_forwards.X[1], flowResistance7.rear.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_boundary__rear3_fore_Medium_ThermodynamicState319.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {boundary_rear4.fore.state_forwards.X[1], boundary_rear4.fore.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_boundary__rear4_fore_Medium_ThermodynamicState325.X Notification: Performance of simCode: created initialization part: time 0.01939/1.341, allocations: 9.249 MB / 1.099 GB, free: 6.574 MB / 0.7136 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance4.rear.state_forwards.X[1], flowResistance4.rear.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_boundary__rear2_fore_Medium_ThermodynamicState1469.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance7.rear.state_forwards.X[1], flowResistance7.rear.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_boundary__rear3_fore_Medium_ThermodynamicState1483.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {boundary_rear4.fore.state_forwards.X[1], boundary_rear4.fore.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_boundary__rear4_fore_Medium_ThermodynamicState1497.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source4.outlet.state.X[1], source4.outlet.state.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_source4_outlet_Medium_ThermodynamicState1607.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {source5.outlet.state.X[1], source5.outlet.state.X[2]} = $TMP_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_source5_outlet_Medium_ThermodynamicState1621.X Notification: Performance of SimCode: time 0.01625/1.357, allocations: 12.07 MB / 1.111 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.3456/1.703, allocations: 113.4 MB / 1.222 GB, free: 431.5 MB / 0.823 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1)