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.001014/0.001014, 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 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009637, allocations: 97.28 kB / 285.6 MB, free: 12.98 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.01078/0.01078, allocations: 1.562 MB / 338 MB, free: 8.469 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6148/0.6148, allocations: 90.04 MB / 479.4 MB, free: 2.965 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.036e-05/5.056e-05, allocations: 7.984 kB / 0.5445 GB, free: 7.969 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 69.34 MB / 0.6122 GB, free: 2.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.527/2.718, allocations: 0.7549 GB / 1.367 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/2.719, allocations: 80.02 kB / 1.367 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/4.037, allocations: 392.4 MB / 1.75 GB, free: 69.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.626e-06/4.037, allocations: 0 / 1.75 GB, free: 69.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001297/4.037, allocations: 23.98 kB / 1.75 GB, free: 69.57 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.006337/4.043, allocations: 1.62 MB / 1.752 GB, free: 67.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/4.043, allocations: 15.97 kB / 1.752 GB, free: 67.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/4.046, allocations: 198.8 kB / 1.752 GB, free: 67.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/4.047, allocations: 484.4 kB / 1.753 GB, free: 67.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/4.048, allocations: 184.1 kB / 1.753 GB, free: 66.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/4.048, allocations: 75.86 kB / 1.753 GB, free: 66.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/4.05, allocations: 0.6352 MB / 1.754 GB, free: 66.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/4.05, allocations: 0 / 1.754 GB, free: 66.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/4.05, allocations: 28 kB / 1.754 GB, free: 66.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/4.05, allocations: 20 kB / 1.754 GB, free: 66.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/4.051, allocations: 0.533 MB / 1.754 GB, free: 65.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00471/4.056, allocations: 2.773 MB / 1.757 GB, free: 62.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/4.057, allocations: 0.552 MB / 1.757 GB, free: 62.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/4.057, allocations: 294.5 kB / 1.758 GB, free: 61.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/4.058, allocations: 0.9783 MB / 1.759 GB, free: 60.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/4.058, allocations: 43.06 kB / 1.759 GB, free: 60.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=63): time 2.695e-06/4.058, allocations: 0 / 1.759 GB, free: 60.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63): time 0.002555/4.061, allocations: 0.9183 MB / 1.76 GB, free: 59.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/4.061, allocations: 59.95 kB / 1.76 GB, free: 59.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/4.061, allocations: 331.2 kB / 1.76 GB, free: 59.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/4.061, allocations: 37.64 kB / 1.76 GB, free: 59.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/4.061, allocations: 316.4 kB / 1.76 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/4.062, allocations: 220.8 kB / 1.761 GB, free: 58.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/4.062, allocations: 8 kB / 1.761 GB, free: 58.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001278/4.062, allocations: 370.7 kB / 1.761 GB, free: 58.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/4.062, allocations: 209.1 kB / 1.761 GB, free: 58.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/4.063, allocations: 217 kB / 1.761 GB, free: 57.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/4.063, allocations: 215.2 kB / 1.761 GB, free: 57.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/4.063, allocations: 0 / 1.761 GB, free: 57.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002035/4.065, allocations: 0.9145 MB / 1.762 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/4.065, allocations: 13.56 kB / 1.762 GB, free: 56.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/4.065, allocations: 0 / 1.762 GB, free: 56.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/4.066, allocations: 154.5 kB / 1.763 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/4.066, allocations: 147.8 kB / 1.763 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/4.07, allocations: 4.498 MB / 1.767 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/4.071, allocations: 87.53 kB / 1.767 GB, free: 51.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/4.071, allocations: 35.98 kB / 1.767 GB, free: 51.36 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 () * 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.0001992/4.071, allocations: 128.9 kB / 1.767 GB, free: 51.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/4.071, allocations: 59.28 kB / 1.767 GB, free: 51.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/4.074, allocations: 1.341 MB / 1.769 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/4.074, allocations: 8 kB / 1.769 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/4.074, allocations: 0 / 1.769 GB, free: 49.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/4.074, allocations: 7.984 kB / 1.769 GB, free: 49.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/4.078, allocations: 1.922 MB / 1.771 GB, free: 47.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/4.078, allocations: 0 / 1.771 GB, free: 47.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/4.079, allocations: 151.8 kB / 1.771 GB, free: 47.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/4.079, allocations: 158.4 kB / 1.771 GB, free: 47.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/4.079, allocations: 35.97 kB / 1.771 GB, free: 47.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/4.083, allocations: 4.502 MB / 1.775 GB, free: 42.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/4.083, allocations: 3.938 kB / 1.775 GB, free: 42.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/4.086, allocations: 1.359 MB / 1.777 GB, free: 41.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/4.086, allocations: 136.4 kB / 1.777 GB, free: 40.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/4.086, allocations: 12.38 kB / 1.777 GB, free: 40.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/4.086, allocations: 63.86 kB / 1.777 GB, free: 40.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/4.087, allocations: 60.48 kB / 1.777 GB, free: 40.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/4.087, allocations: 39.98 kB / 1.777 GB, free: 40.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002875/4.087, allocations: 269.2 kB / 1.777 GB, free: 40.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.087, allocations: 0 / 1.777 GB, free: 40.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001989/4.089, allocations: 487.2 kB / 1.778 GB, free: 40.07 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 () * 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.002729/4.092, allocations: 1.28 MB / 1.779 GB, free: 38.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002092/4.094, allocations: 1.108 MB / 1.78 GB, free: 37.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/4.094, allocations: 0 / 1.78 GB, free: 37.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/4.095, allocations: 0.8732 MB / 1.781 GB, free: 36.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/4.096, allocations: 134.3 kB / 1.781 GB, free: 36.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/4.099, allocations: 1.2 MB / 1.782 GB, free: 35.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/4.099, allocations: 0.9376 MB / 1.783 GB, free: 34.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001087/4.1, allocations: 419.6 kB / 1.783 GB, free: 33.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/4.101, allocations: 87.38 kB / 1.784 GB, free: 33.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/4.101, allocations: 4 kB / 1.784 GB, free: 33.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.03948/4.14, allocations: 28.46 MB / 1.811 GB, free: 5.465 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)