Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 178.4 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.495/1.495, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0009805/0.0009799, allocations: 91.61 kB / 280.5 MB, free: 5.32 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.01135/0.01135, allocations: 1.571 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7398/0.7398, allocations: 90.04 MB / 474 MB, free: 13.03 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.302e-05, allocations: 3 kB / 0.5375 GB, free: 33.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1862, allocations: 69.37 MB / 0.6052 GB, free: 104 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.156, allocations: 0.7543 GB / 1.359 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/2.156, allocations: 83.83 kB / 1.36 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.709/3.865, allocations: 389.2 MB / 1.74 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.517e-06/3.865, allocations: 3.938 kB / 1.74 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001098/3.865, allocations: 21.75 kB / 1.74 GB, free: 118.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005563/3.871, allocations: 1.621 MB / 1.741 GB, free: 118 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/3.871, allocations: 15.69 kB / 1.741 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/3.873, allocations: 197.7 kB / 1.741 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/3.874, allocations: 493.1 kB / 1.742 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/3.874, allocations: 165.9 kB / 1.742 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/3.874, allocations: 40.03 kB / 1.742 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008744/3.875, allocations: 0.496 MB / 1.743 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/3.876, allocations: 0.5329 MB / 1.743 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/3.876, allocations: 0 / 1.743 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/3.876, allocations: 7.875 kB / 1.743 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/3.876, allocations: 17.59 kB / 1.743 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/3.879, allocations: 2.649 MB / 1.746 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/3.88, allocations: 0.5266 MB / 1.746 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/3.88, allocations: 282.9 kB / 1.746 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/3.881, allocations: 0.9777 MB / 1.747 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/3.881, allocations: 40.02 kB / 1.747 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 2.685e-06/3.881, allocations: 0 / 1.747 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.002548/3.883, allocations: 0.9074 MB / 1.748 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/3.883, allocations: 58.59 kB / 1.748 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/3.884, allocations: 298.8 kB / 1.749 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/3.884, allocations: 25.7 kB / 1.749 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/3.884, allocations: 321.8 kB / 1.749 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/3.884, allocations: 208 kB / 1.749 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/3.884, allocations: 0 / 1.749 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001086/3.884, allocations: 366 kB / 1.75 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/3.885, allocations: 199.7 kB / 1.75 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/3.885, allocations: 199.8 kB / 1.75 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/3.886, allocations: 260.7 kB / 1.75 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/3.886, allocations: 0 / 1.75 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002251/3.888, allocations: 0.9164 MB / 1.751 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/3.888, allocations: 7.375 kB / 1.751 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/3.888, allocations: 0 / 1.751 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004883/3.888, allocations: 157 kB / 1.751 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/3.889, allocations: 141.8 kB / 1.751 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/3.893, allocations: 4.359 MB / 1.756 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/3.894, allocations: 69.22 kB / 1.756 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/3.894, allocations: 44.09 kB / 1.756 GB, free: 110.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002255/3.894, allocations: 119.3 kB / 1.756 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/3.894, allocations: 52.75 kB / 1.756 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/3.898, allocations: 1.337 MB / 1.757 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/3.898, allocations: 10.09 kB / 1.757 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/3.898, allocations: 7 kB / 1.757 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/3.898, allocations: 3.75 kB / 1.757 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/3.902, allocations: 1.821 MB / 1.759 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/3.902, allocations: 0 / 1.759 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/3.903, allocations: 147 kB / 1.759 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003824/3.903, allocations: 153.6 kB / 1.759 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/3.903, allocations: 22.88 kB / 1.759 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/3.906, allocations: 4.379 MB / 1.764 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.906, allocations: 0 / 1.764 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/3.909, allocations: 1.358 MB / 1.765 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/3.909, allocations: 133.4 kB / 1.765 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/3.909, allocations: 3.844 kB / 1.765 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/3.91, allocations: 53.81 kB / 1.765 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/3.91, allocations: 63 kB / 1.765 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/3.91, allocations: 38.88 kB / 1.765 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002406/3.91, allocations: 241.3 kB / 1.765 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/3.91, allocations: 0 / 1.765 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001587/3.912, allocations: 453.7 kB / 1.766 GB, free: 104.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/3.914, allocations: 1.414 MB / 1.767 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00176/3.915, allocations: 1.057 MB / 1.768 GB, free: 104 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/3.915, allocations: 0 / 1.768 GB, free: 104 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/3.917, allocations: 0.8517 MB / 1.769 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/3.917, allocations: 120.3 kB / 1.769 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/3.92, allocations: 1.139 MB / 1.77 GB, free: 103 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/3.92, allocations: 0.9386 MB / 1.771 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009575/3.921, allocations: 421.1 kB / 1.772 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/3.921, allocations: 91.59 kB / 1.772 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/3.921, allocations: 0 / 1.772 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.02706/3.948, allocations: 17.98 MB / 1.789 GB, free: 87.7 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)