Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.0009857/0.0009858, 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.393/1.393, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009949/0.0009953, allocations: 96.38 kB / 280.5 MB, free: 5.328 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.01066/0.01066, allocations: 1.565 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7603/0.7603, allocations: 90.04 MB / 474 MB, free: 13.04 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.062e-05, allocations: 2.875 kB / 0.5376 GB, free: 33.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1568, allocations: 69.37 MB / 0.6053 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.864/2.021, allocations: 0.7551 GB / 1.36 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/2.022, allocations: 77.25 kB / 1.36 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.83/3.851, allocations: 472.9 MB / 1.822 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/3.852, allocations: 8 kB / 1.822 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001032/3.852, allocations: 31.44 kB / 1.822 GB, free: 54.86 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005697/3.857, allocations: 1.923 MB / 1.824 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/3.857, allocations: 16.03 kB / 1.824 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/3.859, allocations: 246.2 kB / 1.824 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/3.861, allocations: 0.5526 MB / 1.825 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/3.861, allocations: 172.8 kB / 1.825 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/3.861, allocations: 51.91 kB / 1.825 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/3.862, allocations: 0.6131 MB / 1.826 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/3.864, allocations: 0.7728 MB / 1.827 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/3.864, allocations: 0 / 1.827 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/3.864, allocations: 3.938 kB / 1.827 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/3.864, allocations: 20 kB / 1.827 GB, free: 50.4 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004019/3.868, allocations: 3.461 MB / 1.83 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/3.869, allocations: 0.7411 MB / 1.831 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/3.869, allocations: 355.7 kB / 1.831 GB, free: 45.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/3.87, allocations: 1.381 MB / 1.832 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/3.87, allocations: 39.34 kB / 1.832 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 3.587e-06/3.87, allocations: 3.938 kB / 1.832 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.003015/3.873, allocations: 1.075 MB / 1.834 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/3.873, allocations: 64.19 kB / 1.834 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/3.874, allocations: 366.3 kB / 1.834 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/3.874, allocations: 25.7 kB / 1.834 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/3.874, allocations: 384.2 kB / 1.834 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/3.874, allocations: 279.8 kB / 1.835 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/3.874, allocations: 0 / 1.835 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001152/3.875, allocations: 386.8 kB / 1.835 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/3.875, allocations: 241.5 kB / 1.835 GB, free: 41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/3.875, allocations: 319.3 kB / 1.835 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000979/3.876, allocations: 332.3 kB / 1.836 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/3.876, allocations: 0 / 1.836 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00275/3.879, allocations: 1.118 MB / 1.837 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/3.879, allocations: 8 kB / 1.837 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/3.879, allocations: 3.953 kB / 1.837 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/3.88, allocations: 170.6 kB / 1.837 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/3.88, allocations: 199.7 kB / 1.837 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/3.884, allocations: 4.484 MB / 1.842 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/3.885, allocations: 75.45 kB / 1.842 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/3.885, allocations: 55.97 kB / 1.842 GB, free: 33.87 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 (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.0001784/3.885, allocations: 124.7 kB / 1.842 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002618/3.888, allocations: 1.083 MB / 1.843 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/3.888, allocations: 71.06 kB / 1.843 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/3.892, allocations: 1.718 MB / 1.845 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/3.892, allocations: 12 kB / 1.845 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/3.892, allocations: 0 / 1.845 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/3.892, allocations: 7.969 kB / 1.845 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/3.896, allocations: 2.196 MB / 1.847 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/3.896, allocations: 0 / 1.847 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/3.897, allocations: 211.8 kB / 1.847 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/3.897, allocations: 174.4 kB / 1.847 GB, free: 28.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/3.897, allocations: 31.97 kB / 1.847 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/3.901, allocations: 4.484 MB / 1.852 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/3.901, allocations: 11.89 kB / 1.852 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/3.904, allocations: 1.653 MB / 1.853 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/3.904, allocations: 231.9 kB / 1.853 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/3.905, allocations: 4 kB / 1.853 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/3.905, allocations: 47.95 kB / 1.854 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/3.905, allocations: 84.62 kB / 1.854 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/3.905, allocations: 56.11 kB / 1.854 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002989/3.906, allocations: 286.9 kB / 1.854 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.906, allocations: 0 / 1.854 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001988/3.908, allocations: 0.5262 MB / 1.854 GB, free: 20.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,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 (83): * Single equations (assignments): 78 * 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.006141/3.914, allocations: 3.803 MB / 1.858 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002107/3.916, allocations: 1.22 MB / 1.859 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/3.916, allocations: 4 kB / 1.859 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/3.917, allocations: 0.9562 MB / 1.86 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/3.918, allocations: 179.2 kB / 1.86 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/3.922, allocations: 1.766 MB / 1.862 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/3.923, allocations: 1.029 MB / 1.863 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001405/3.924, allocations: 0.6055 MB / 1.864 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/3.925, allocations: 415.2 kB / 1.864 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/3.925, allocations: 0 / 1.864 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.496/4.421, allocations: 30.29 MB / 1.894 GB, free: 82.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/4.421, allocations: 183.7 kB / 1.894 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/7.486, allocations: 0 / 1.894 GB, free: 82.32 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)