Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_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.006891/0.006891, allocations: 172 kB / 15.11 MB, free: 5.98 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.546/1.546, allocations: 223.2 MB / 239 MB, free: 1.824 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.001017/0.001017, allocations: 102 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.01248/0.01248, allocations: 1.558 MB / 342.9 MB, free: 9.281 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8639/0.8639, allocations: 90.32 MB / 484.7 MB, free: 21.89 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005142, allocations: 11.88 kB / 0.5527 GB, free: 30.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.206, allocations: 69.36 MB / 0.6204 GB, free: 5.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.901/2.107, allocations: 0.7544 GB / 1.375 GB, free: 33.81 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/2.107, allocations: 79.72 kB / 1.375 GB, free: 33.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.558/3.666, allocations: 380.4 MB / 1.746 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.614e-06/3.666, allocations: 0 / 1.746 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.018e-05/3.666, allocations: 23.39 kB / 1.746 GB, free: 121.5 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.005111/3.671, allocations: 1.667 MB / 1.748 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/3.671, allocations: 11.14 kB / 1.748 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000309/3.671, allocations: 115.3 kB / 1.748 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/3.673, allocations: 209.2 kB / 1.748 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/3.674, allocations: 483 kB / 1.749 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/3.675, allocations: 187.5 kB / 1.749 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/3.675, allocations: 71.41 kB / 1.749 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/3.676, allocations: 0.7158 MB / 1.75 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/3.677, allocations: 3.188 kB / 1.75 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/3.677, allocations: 25.31 kB / 1.75 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/3.677, allocations: 17.69 kB / 1.75 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/3.678, allocations: 0.6412 MB / 1.75 GB, free: 120.2 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/3.682, allocations: 2.55 MB / 1.753 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/3.684, allocations: 0.686 MB / 1.754 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/3.684, allocations: 0.5851 MB / 1.754 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/3.684, allocations: 38.91 kB / 1.754 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=62): time 4.469e-06/3.684, allocations: 0 / 1.754 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62): time 0.005284/3.69, allocations: 2.097 MB / 1.756 GB, free: 117.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/3.69, allocations: 61.64 kB / 1.756 GB, free: 117.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/3.69, allocations: 340.2 kB / 1.757 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/3.69, allocations: 35.95 kB / 1.757 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/3.691, allocations: 321.2 kB / 1.757 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/3.691, allocations: 216.3 kB / 1.757 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/3.691, allocations: 6.875 kB / 1.757 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000108/3.691, allocations: 370.7 kB / 1.758 GB, free: 117 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/3.691, allocations: 288.5 kB / 1.758 GB, free: 117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/3.692, allocations: 300.6 kB / 1.758 GB, free: 117 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/3.693, allocations: 295.4 kB / 1.758 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/3.693, allocations: 0 / 1.758 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002701/3.695, allocations: 1.127 MB / 1.76 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/3.696, allocations: 5.875 kB / 1.76 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/3.696, allocations: 3.375 kB / 1.76 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007562/3.696, allocations: 262.6 kB / 1.76 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/3.697, allocations: 146.2 kB / 1.76 GB, free: 116.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/3.702, allocations: 4.963 MB / 1.765 GB, free: 113 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/3.702, allocations: 76.78 kB / 1.765 GB, free: 113 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/3.703, allocations: 44.81 kB / 1.765 GB, free: 113 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 (55): * Single equations (assignments): 50 * 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.000443/3.703, allocations: 186.8 kB / 1.765 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/3.703, allocations: 55.7 kB / 1.765 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/3.707, allocations: 1.65 MB / 1.767 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/3.707, allocations: 7.656 kB / 1.767 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/3.707, allocations: 3.844 kB / 1.767 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/3.707, allocations: 3.328 kB / 1.767 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/3.712, allocations: 2.112 MB / 1.769 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/3.712, allocations: 0 / 1.769 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/3.713, allocations: 144.1 kB / 1.769 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007026/3.713, allocations: 263.6 kB / 1.769 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/3.713, allocations: 29.64 kB / 1.769 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/3.718, allocations: 4.969 MB / 1.774 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.718, allocations: 0 / 1.774 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/3.722, allocations: 1.607 MB / 1.776 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/3.722, allocations: 196.3 kB / 1.776 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/3.722, allocations: 12.19 kB / 1.776 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/3.723, allocations: 59.14 kB / 1.776 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/3.723, allocations: 63.83 kB / 1.776 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/3.723, allocations: 43.67 kB / 1.776 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003633/3.724, allocations: 274.9 kB / 1.776 GB, free: 108.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/3.724, allocations: 0 / 1.776 GB, free: 108.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002026/3.726, allocations: 452.2 kB / 1.777 GB, free: 108 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,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 (55): * Single equations (assignments): 50 * 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.006207/3.732, allocations: 3.445 MB / 1.78 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002513/3.734, allocations: 1.249 MB / 1.781 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/3.734, allocations: 0 / 1.781 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/3.736, allocations: 0.9516 MB / 1.782 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/3.737, allocations: 139.9 kB / 1.782 GB, free: 106 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009695/3.747, allocations: 4.6 MB / 1.787 GB, free: 104.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/3.747, allocations: 0.9384 MB / 1.788 GB, free: 104 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001443/3.749, allocations: 0.5319 MB / 1.788 GB, free: 104 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006236/3.749, allocations: 325 kB / 1.789 GB, free: 104 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/3.749, allocations: 0 / 1.789 GB, free: 104 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/3.815, allocations: 35.1 MB / 1.823 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/3.815, allocations: 264.9 kB / 1.823 GB, free: 86.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.52/7.335, allocations: 0 / 1.823 GB, free: 86.06 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)