Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001019/0.001019, allocations: 180.9 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.483/1.483, 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.0009729/0.0009729, allocations: 91.56 kB / 280.5 MB, free: 5.332 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.00898/0.00898, allocations: 1.568 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.7888/0.7888, allocations: 90.04 MB / 474 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.974e-05, allocations: 4.031 kB / 0.5376 GB, free: 33.04 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1621, allocations: 69.36 MB / 0.6053 GB, free: 12 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/1.977, allocations: 0.7552 GB / 1.36 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.977, allocations: 78.69 kB / 1.361 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.427/4.403, allocations: 0.5873 GB / 1.948 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/4.403, allocations: 0 / 1.948 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001348/4.404, allocations: 44.92 kB / 1.948 GB, free: 73.4 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.009899/4.413, allocations: 2.425 MB / 1.95 GB, free: 72.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/4.414, allocations: 7.469 kB / 1.95 GB, free: 72.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/4.418, allocations: 347.2 kB / 1.951 GB, free: 72.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/4.42, allocations: 0.6937 MB / 1.951 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/4.42, allocations: 314.1 kB / 1.952 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003908/4.421, allocations: 71.22 kB / 1.952 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002056/4.423, allocations: 0.8829 MB / 1.952 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/4.425, allocations: 1.054 MB / 1.954 GB, free: 71.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/4.425, allocations: 1.594 kB / 1.954 GB, free: 71.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/4.425, allocations: 0 / 1.954 GB, free: 71.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/4.425, allocations: 28.81 kB / 1.954 GB, free: 71.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006612/4.432, allocations: 4.709 MB / 1.958 GB, free: 69.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/4.433, allocations: 1.042 MB / 1.959 GB, free: 69.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/4.434, allocations: 0.4914 MB / 1.96 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/4.435, allocations: 1.866 MB / 1.961 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/4.435, allocations: 47.47 kB / 1.962 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 3.857e-06/4.435, allocations: 1.969 kB / 1.962 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.004699/4.44, allocations: 1.636 MB / 1.963 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/4.44, allocations: 62.56 kB / 1.963 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/4.441, allocations: 428 kB / 1.964 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/4.441, allocations: 25.7 kB / 1.964 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/4.441, allocations: 487.4 kB / 1.964 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/4.441, allocations: 364.9 kB / 1.964 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/4.441, allocations: 0 / 1.964 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001471/4.441, allocations: 395.1 kB / 1.965 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/4.442, allocations: 368 kB / 1.965 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/4.443, allocations: 447.6 kB / 1.966 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/4.444, allocations: 452.2 kB / 1.966 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/4.444, allocations: 0 / 1.966 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004372/4.449, allocations: 1.693 MB / 1.968 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/4.449, allocations: 7.625 kB / 1.968 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/4.449, allocations: 0 / 1.968 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007143/4.449, allocations: 260.6 kB / 1.968 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/4.451, allocations: 285.3 kB / 1.968 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/4.456, allocations: 6.25 MB / 1.974 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/4.458, allocations: 130 kB / 1.974 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/4.458, allocations: 74.72 kB / 1.974 GB, free: 60.7 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003306/4.458, allocations: 119.9 kB / 1.975 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005049/4.463, allocations: 1.643 MB / 1.976 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/4.464, allocations: 89.31 kB / 1.976 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/4.47, allocations: 2.462 MB / 1.979 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/4.47, allocations: 11.72 kB / 1.979 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/4.47, allocations: 3.688 kB / 1.979 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/4.47, allocations: 7.406 kB / 1.979 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/4.477, allocations: 3.08 MB / 1.982 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/4.477, allocations: 0 / 1.982 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/4.478, allocations: 292 kB / 1.982 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006604/4.479, allocations: 271.8 kB / 1.982 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/4.479, allocations: 42.84 kB / 1.982 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/4.485, allocations: 6.245 MB / 1.988 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/4.485, allocations: 7 kB / 1.988 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/4.491, allocations: 2.37 MB / 1.991 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/4.491, allocations: 173.3 kB / 1.991 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/4.491, allocations: 3.312 kB / 1.991 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/4.492, allocations: 96.02 kB / 1.991 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/4.493, allocations: 106.5 kB / 1.991 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/4.493, allocations: 75.78 kB / 1.991 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005115/4.493, allocations: 336.3 kB / 1.991 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/4.493, allocations: 0 / 1.991 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003302/4.497, allocations: 0.6454 MB / 1.992 GB, free: 54.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01075/4.507, allocations: 4.771 MB / 1.997 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003832/4.511, allocations: 1.774 MB / 1.998 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/4.511, allocations: 0 / 1.998 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/4.514, allocations: 1.38 MB / 2 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/4.515, allocations: 202.5 kB / 2 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/4.521, allocations: 2.295 MB / 2.002 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/4.522, allocations: 1.116 MB / 2.003 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002123/4.524, allocations: 0.7908 MB / 2.004 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000955/4.525, allocations: 0.533 MB / 2.005 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.465e-06/4.525, allocations: 0 / 2.005 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/4.604, allocations: 37.35 MB / 2.041 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/4.605, allocations: 188.8 kB / 2.041 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.498/8.102, allocations: 4 kB / 2.041 GB, free: 43.85 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)