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.008362/0.008361, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.758/1.758, allocations: 223.2 MB / 239 MB, free: 1.789 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.001273/0.001273, allocations: 103 kB / 290.2 MB, free: 13.93 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.01423/0.01423, allocations: 1.565 MB / 342.9 MB, free: 9.262 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8818/0.8818, allocations: 90.3 MB / 484.7 MB, free: 21.9 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005145, allocations: 18.38 kB / 0.5526 GB, free: 30.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1687, allocations: 69.36 MB / 0.6203 GB, free: 5.633 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.232/2.401, allocations: 0.755 GB / 1.375 GB, free: 53.44 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/2.401, allocations: 88.5 kB / 1.375 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.583/3.984, allocations: 393.5 MB / 1.76 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.539e-06/3.984, allocations: 0 / 1.76 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.401e-05/3.984, allocations: 26.84 kB / 1.76 GB, free: 120.9 MB / 0.6198 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.004349/3.989, allocations: 1.694 MB / 1.761 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/3.989, allocations: 8.188 kB / 1.761 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/3.99, allocations: 210.4 kB / 1.762 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/3.991, allocations: 0.4887 MB / 1.762 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/3.991, allocations: 182 kB / 1.762 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/3.991, allocations: 65.62 kB / 1.762 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/3.993, allocations: 0.7251 MB / 1.763 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/3.993, allocations: 0 / 1.763 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/3.993, allocations: 28.53 kB / 1.763 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/3.993, allocations: 16.94 kB / 1.763 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/3.994, allocations: 0.6497 MB / 1.764 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/3.998, allocations: 2.782 MB / 1.766 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/3.999, allocations: 0.6664 MB / 1.767 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/4, allocations: 0.9795 MB / 1.768 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/4, allocations: 38.38 kB / 1.768 GB, free: 117 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/4, allocations: 0 / 1.768 GB, free: 117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63): time 0.004843/4.005, allocations: 2.14 MB / 1.77 GB, free: 116.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/4.005, allocations: 55.91 kB / 1.77 GB, free: 116.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/4.005, allocations: 343.3 kB / 1.771 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/4.005, allocations: 38.27 kB / 1.771 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/4.005, allocations: 311.7 kB / 1.771 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/4.005, allocations: 211.7 kB / 1.771 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/4.005, allocations: 10.56 kB / 1.771 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/4.006, allocations: 366.1 kB / 1.771 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/4.006, allocations: 293.2 kB / 1.772 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/4.007, allocations: 307.8 kB / 1.772 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/4.007, allocations: 303.7 kB / 1.772 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/4.007, allocations: 0 / 1.772 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002677/4.01, allocations: 1.144 MB / 1.773 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/4.01, allocations: 7.25 kB / 1.773 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/4.01, allocations: 3.844 kB / 1.773 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/4.011, allocations: 259.1 kB / 1.774 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/4.011, allocations: 145.8 kB / 1.774 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/4.016, allocations: 4.97 MB / 1.779 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/4.017, allocations: 86.41 kB / 1.779 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/4.017, allocations: 39.22 kB / 1.779 GB, free: 111.7 MB / 0.6198 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 () * Number of clocked 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.0003704/4.017, allocations: 185.1 kB / 1.779 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/4.018, allocations: 59.19 kB / 1.779 GB, free: 111.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/4.021, allocations: 1.568 MB / 1.781 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/4.021, allocations: 3.75 kB / 1.781 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/4.021, allocations: 7.641 kB / 1.781 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/4.021, allocations: 5.156 kB / 1.781 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/4.025, allocations: 2.13 MB / 1.783 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/4.025, allocations: 0 / 1.783 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/4.026, allocations: 155.2 kB / 1.783 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00067/4.026, allocations: 259.8 kB / 1.783 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/4.027, allocations: 34.59 kB / 1.783 GB, free: 111 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/4.031, allocations: 4.969 MB / 1.788 GB, free: 107.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/4.031, allocations: 1.219 kB / 1.788 GB, free: 107.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/4.035, allocations: 1.633 MB / 1.79 GB, free: 107 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/4.036, allocations: 134.5 kB / 1.79 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/4.036, allocations: 22.89 kB / 1.79 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/4.037, allocations: 55.64 kB / 1.79 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/4.037, allocations: 62.64 kB / 1.79 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/4.037, allocations: 47.66 kB / 1.79 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000532/4.038, allocations: 268 kB / 1.79 GB, free: 106.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/4.038, allocations: 2.562 kB / 1.79 GB, free: 106.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003073/4.041, allocations: 489.2 kB / 1.791 GB, free: 106.6 MB / 0.6198 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 () * Number of clocked 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.003143/4.044, allocations: 1.267 MB / 1.792 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0037/4.048, allocations: 1.26 MB / 1.793 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/4.048, allocations: 0 / 1.793 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/4.05, allocations: 0.9604 MB / 1.794 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/4.051, allocations: 143.3 kB / 1.794 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/4.055, allocations: 1.981 MB / 1.796 GB, free: 104.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/4.056, allocations: 0.9406 MB / 1.797 GB, free: 104 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001578/4.058, allocations: 412.1 kB / 1.797 GB, free: 104 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/4.058, allocations: 94.11 kB / 1.797 GB, free: 104 MB / 0.6198 GB Notification: Performance of SimCode: time 1.994e-06/4.058, allocations: 0.6562 kB / 1.797 GB, free: 104 MB / 0.6198 GB Notification: Performance of Templates: time 0.0512/4.109, allocations: 25.49 MB / 1.822 GB, free: 98.41 MB / 0.6198 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)