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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009976/0.009976, 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.679/1.679, allocations: 223.2 MB / 239 MB, free: 1.812 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.001089/0.001089, allocations: 92.12 kB / 290.2 MB, free: 13.96 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.01304/0.01303, allocations: 1.569 MB / 342.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7765/0.7765, allocations: 90.31 MB / 484.7 MB, free: 21.92 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004969, allocations: 14.41 kB / 0.5527 GB, free: 30.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 69.36 MB / 0.6204 GB, free: 5.566 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.101/2.273, allocations: 0.755 GB / 1.375 GB, free: 53.49 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/2.273, allocations: 79.97 kB / 1.375 GB, free: 53.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/3.907, allocations: 393.6 MB / 1.76 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.614e-06/3.907, allocations: 0 / 1.76 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.439e-05/3.907, allocations: 25.23 kB / 1.76 GB, free: 120.6 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.005112/3.913, allocations: 1.703 MB / 1.761 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/3.913, allocations: 15.83 kB / 1.761 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/3.913, allocations: 117 kB / 1.762 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/3.914, allocations: 206.2 kB / 1.762 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/3.915, allocations: 497.4 kB / 1.762 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/3.915, allocations: 185.4 kB / 1.762 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/3.915, allocations: 65.16 kB / 1.763 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/3.917, allocations: 0.72 MB / 1.763 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/3.917, allocations: 0 / 1.763 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/3.917, allocations: 34.94 kB / 1.763 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/3.917, allocations: 18.94 kB / 1.763 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/3.918, allocations: 0.6543 MB / 1.764 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/3.922, allocations: 2.775 MB / 1.767 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/3.923, allocations: 0.6561 MB / 1.767 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/3.924, allocations: 0.982 MB / 1.768 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/3.924, allocations: 41.22 kB / 1.768 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=63): time 3.186e-06/3.924, allocations: 0 / 1.768 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63): time 0.005043/3.929, allocations: 2.141 MB / 1.77 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/3.929, allocations: 58.31 kB / 1.77 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/3.929, allocations: 336.5 kB / 1.771 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/3.929, allocations: 36.98 kB / 1.771 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/3.929, allocations: 314.1 kB / 1.771 GB, free: 115.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/3.93, allocations: 216 kB / 1.771 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/3.93, allocations: 12.25 kB / 1.771 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001039/3.93, allocations: 363.5 kB / 1.772 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/3.93, allocations: 299.3 kB / 1.772 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/3.931, allocations: 298.1 kB / 1.772 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/3.932, allocations: 304.9 kB / 1.772 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/3.932, allocations: 0 / 1.772 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002742/3.934, allocations: 1.15 MB / 1.774 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/3.934, allocations: 6.5 kB / 1.774 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/3.934, allocations: 6.422 kB / 1.774 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/3.935, allocations: 255.6 kB / 1.774 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/3.936, allocations: 148.4 kB / 1.774 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/3.941, allocations: 4.954 MB / 1.779 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/3.942, allocations: 87.84 kB / 1.779 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/3.942, allocations: 42.95 kB / 1.779 GB, free: 111.4 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.0004077/3.942, allocations: 188.6 kB / 1.779 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/3.942, allocations: 54.22 kB / 1.779 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/3.946, allocations: 1.564 MB / 1.781 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/3.946, allocations: 7.828 kB / 1.781 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/3.946, allocations: 3.875 kB / 1.781 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/3.946, allocations: 3.562 kB / 1.781 GB, free: 111.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/3.95, allocations: 2.135 MB / 1.783 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/3.95, allocations: 0 / 1.783 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/3.951, allocations: 153.7 kB / 1.783 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007172/3.952, allocations: 264.5 kB / 1.783 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/3.952, allocations: 31.92 kB / 1.783 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/3.957, allocations: 4.96 MB / 1.788 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.957, allocations: 2.062 kB / 1.788 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/3.96, allocations: 1.636 MB / 1.79 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/3.96, allocations: 146.3 kB / 1.79 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/3.961, allocations: 17.36 kB / 1.79 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/3.961, allocations: 57.97 kB / 1.79 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/3.961, allocations: 59.34 kB / 1.79 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/3.961, allocations: 44.39 kB / 1.79 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002777/3.962, allocations: 269.3 kB / 1.79 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/3.962, allocations: 2.281 kB / 1.79 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001907/3.964, allocations: 492.8 kB / 1.791 GB, free: 106.3 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.005936/3.969, allocations: 3.481 MB / 1.794 GB, free: 105.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002551/3.972, allocations: 1.262 MB / 1.795 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/3.972, allocations: 0 / 1.795 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/3.974, allocations: 0.9595 MB / 1.796 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/3.975, allocations: 143.4 kB / 1.796 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/3.983, allocations: 4.634 MB / 1.801 GB, free: 103 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/3.983, allocations: 0.9366 MB / 1.802 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001082/3.984, allocations: 418.9 kB / 1.802 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/3.985, allocations: 316.3 kB / 1.803 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/3.985, allocations: 0 / 1.803 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/4.043, allocations: 34.68 MB / 1.836 GB, free: 85.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/4.043, allocations: 266.8 kB / 1.837 GB, free: 84.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/7.442, allocations: 0 / 1.837 GB, free: 84.89 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)