Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.01004/0.01004, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.52/1.52, allocations: 223.2 MB / 239 MB, free: 1.805 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.0008315/0.0008315, allocations: 96.39 kB / 290.2 MB, free: 13.95 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.009504/0.009504, allocations: 1.558 MB / 342.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7073/0.7073, allocations: 90.31 MB / 484.7 MB, free: 21.91 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004659, allocations: 22.33 kB / 0.5527 GB, free: 30.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 69.36 MB / 0.6204 GB, free: 5.566 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.791/1.933, allocations: 0.7558 GB / 1.376 GB, free: 32.13 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/1.934, allocations: 83.14 kB / 1.376 GB, free: 32.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.879/3.813, allocations: 478.3 MB / 1.843 GB, free: 69.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/3.813, allocations: 3.938 kB / 1.843 GB, free: 69.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.259e-05/3.813, allocations: 31.98 kB / 1.843 GB, free: 69.28 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006534/3.82, allocations: 2.029 MB / 1.845 GB, free: 67.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/3.82, allocations: 11.98 kB / 1.845 GB, free: 67.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/3.82, allocations: 135.2 kB / 1.845 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/3.822, allocations: 250.3 kB / 1.846 GB, free: 66.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/3.823, allocations: 0.5568 MB / 1.846 GB, free: 66.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/3.823, allocations: 200.7 kB / 1.846 GB, free: 65.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/3.823, allocations: 91.91 kB / 1.847 GB, free: 65.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/3.825, allocations: 0.9758 MB / 1.848 GB, free: 64.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/3.825, allocations: 7.922 kB / 1.848 GB, free: 64.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/3.825, allocations: 36 kB / 1.848 GB, free: 64.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/3.825, allocations: 20 kB / 1.848 GB, free: 64.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/3.827, allocations: 0.7807 MB / 1.848 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/3.831, allocations: 3.648 MB / 1.852 GB, free: 60.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/3.833, allocations: 0.9138 MB / 1.853 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009755/3.834, allocations: 1.382 MB / 1.854 GB, free: 57.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/3.834, allocations: 51.95 kB / 1.854 GB, free: 57.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 4.989e-06/3.834, allocations: 0 / 1.854 GB, free: 57.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.005835/3.84, allocations: 2.384 MB / 1.857 GB, free: 54.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/3.84, allocations: 64 kB / 1.857 GB, free: 54.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/3.841, allocations: 426.3 kB / 1.857 GB, free: 54.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/3.841, allocations: 41.7 kB / 1.857 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/3.841, allocations: 372.4 kB / 1.857 GB, free: 54.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/3.841, allocations: 291.7 kB / 1.858 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/3.841, allocations: 16 kB / 1.858 GB, free: 53.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001499/3.841, allocations: 386.8 kB / 1.858 GB, free: 53.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006945/3.842, allocations: 349.8 kB / 1.858 GB, free: 52.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/3.843, allocations: 423.1 kB / 1.859 GB, free: 52.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/3.844, allocations: 374.9 kB / 1.859 GB, free: 52.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/3.844, allocations: 3.938 kB / 1.859 GB, free: 52.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003121/3.847, allocations: 1.358 MB / 1.86 GB, free: 50.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/3.847, allocations: 4 kB / 1.86 GB, free: 50.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/3.847, allocations: 4 kB / 1.86 GB, free: 50.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008846/3.848, allocations: 278.3 kB / 1.861 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/3.849, allocations: 191.8 kB / 1.861 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/3.855, allocations: 5.115 MB / 1.866 GB, free: 44.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/3.856, allocations: 95.39 kB / 1.866 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/3.856, allocations: 59.97 kB / 1.866 GB, free: 44.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 75 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007196/3.857, allocations: 209.7 kB / 1.866 GB, free: 44.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/3.857, allocations: 75.06 kB / 1.866 GB, free: 44.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/3.862, allocations: 1.946 MB / 1.868 GB, free: 42.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/3.862, allocations: 8 kB / 1.868 GB, free: 42.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/3.862, allocations: 4 kB / 1.868 GB, free: 42.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/3.862, allocations: 11.97 kB / 1.868 GB, free: 42.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005541/3.868, allocations: 2.523 MB / 1.871 GB, free: 39.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/3.868, allocations: 0 / 1.871 GB, free: 39.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/3.869, allocations: 207.8 kB / 1.871 GB, free: 39.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/3.87, allocations: 286.2 kB / 1.871 GB, free: 39.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/3.87, allocations: 35.98 kB / 1.871 GB, free: 39.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/3.876, allocations: 5.107 MB / 1.876 GB, free: 33.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.876, allocations: 4.031 kB / 1.876 GB, free: 33.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/3.88, allocations: 1.932 MB / 1.878 GB, free: 31.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/3.881, allocations: 164 kB / 1.878 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/3.881, allocations: 19.95 kB / 1.878 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/3.882, allocations: 63.95 kB / 1.878 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/3.882, allocations: 80.89 kB / 1.878 GB, free: 31.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/3.882, allocations: 55.98 kB / 1.878 GB, free: 31.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005517/3.883, allocations: 334.8 kB / 1.879 GB, free: 31.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/3.883, allocations: 0 / 1.879 GB, free: 31.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00309/3.886, allocations: 0.5809 MB / 1.879 GB, free: 30.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (81): * Single equations (assignments): 76 * 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 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008249/3.894, allocations: 3.918 MB / 1.883 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003293/3.897, allocations: 1.445 MB / 1.885 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/3.898, allocations: 0 / 1.885 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/3.899, allocations: 1.071 MB / 1.886 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/3.901, allocations: 180.3 kB / 1.886 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/3.92, allocations: 6.46 MB / 1.892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009592/3.921, allocations: 1.017 MB / 1.893 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002805/3.923, allocations: 0.6057 MB / 1.894 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/3.925, allocations: 411.2 kB / 1.894 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.856e-06/3.925, allocations: 0 / 1.894 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.753/4.678, allocations: 40.43 MB / 1.934 GB, free: 96.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/4.678, allocations: 248.5 kB / 1.934 GB, free: 95.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.677/8.355, allocations: 0 / 1.934 GB, free: 95.87 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)