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.001197/0.001197, allocations: 172.5 kB / 7.647 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.449/1.449, 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.0009106/0.000911, allocations: 102.5 kB / 280.5 MB, free: 5.316 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.01155/0.01155, allocations: 1.565 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7401/0.7401, allocations: 90.04 MB / 474 MB, free: 13.03 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.949e-05, allocations: 2.906 kB / 0.5376 GB, free: 33.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 69.37 MB / 0.6053 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.865/2.02, allocations: 0.7537 GB / 1.359 GB, free: 21.72 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/2.021, allocations: 75.09 kB / 1.359 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.551/3.572, allocations: 376.1 MB / 1.726 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/3.572, allocations: 3.938 kB / 1.726 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.396e-05/3.572, allocations: 23.77 kB / 1.726 GB, free: 120.7 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004482/3.576, allocations: 1.585 MB / 1.728 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/3.576, allocations: 7.812 kB / 1.728 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/3.578, allocations: 203.3 kB / 1.728 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/3.578, allocations: 490.6 kB / 1.729 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/3.579, allocations: 162.5 kB / 1.729 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/3.579, allocations: 45.12 kB / 1.729 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008085/3.579, allocations: 0.4893 MB / 1.729 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/3.58, allocations: 0.5286 MB / 1.73 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/3.58, allocations: 3.875 kB / 1.73 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/3.581, allocations: 6.922 kB / 1.73 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/3.581, allocations: 17.75 kB / 1.73 GB, free: 119.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.002964/3.583, allocations: 2.426 MB / 1.732 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008632/3.584, allocations: 0.5542 MB / 1.733 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/3.585, allocations: 276.9 kB / 1.733 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/3.585, allocations: 0.5832 MB / 1.734 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/3.585, allocations: 37.25 kB / 1.734 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 3.537e-06/3.585, allocations: 2.938 kB / 1.734 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.002376/3.588, allocations: 0.8893 MB / 1.734 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/3.588, allocations: 55.69 kB / 1.735 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/3.588, allocations: 305.5 kB / 1.735 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/3.588, allocations: 29.61 kB / 1.735 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/3.588, allocations: 317.1 kB / 1.735 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/3.588, allocations: 209.3 kB / 1.735 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/3.588, allocations: 3.969 kB / 1.735 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001004/3.588, allocations: 368.2 kB / 1.736 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/3.589, allocations: 188 kB / 1.736 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/3.589, allocations: 193.7 kB / 1.736 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/3.59, allocations: 243.3 kB / 1.736 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/3.59, allocations: 3.516 kB / 1.736 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002138/3.592, allocations: 0.9032 MB / 1.737 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/3.592, allocations: 3.969 kB / 1.737 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/3.592, allocations: 3.938 kB / 1.737 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004653/3.592, allocations: 152.7 kB / 1.737 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/3.593, allocations: 153.3 kB / 1.737 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/3.597, allocations: 4.36 MB / 1.742 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/3.597, allocations: 68.69 kB / 1.742 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/3.597, allocations: 46.03 kB / 1.742 GB, free: 111.7 MB / 0.6042 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 () * 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.0001528/3.597, allocations: 113.4 kB / 1.742 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002277/3.6, allocations: 0.8993 MB / 1.743 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/3.6, allocations: 59.41 kB / 1.743 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/3.603, allocations: 1.418 MB / 1.744 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/3.603, allocations: 7.344 kB / 1.744 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/3.603, allocations: 0 / 1.744 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/3.603, allocations: 3.562 kB / 1.744 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/3.607, allocations: 1.78 MB / 1.746 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/3.607, allocations: 0 / 1.746 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/3.607, allocations: 150.2 kB / 1.746 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/3.608, allocations: 150.9 kB / 1.746 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/3.608, allocations: 25.12 kB / 1.746 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/3.611, allocations: 4.363 MB / 1.751 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/3.611, allocations: 3.062 kB / 1.751 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/3.614, allocations: 1.328 MB / 1.752 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/3.614, allocations: 195 kB / 1.752 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.227e-05/3.614, allocations: 0 / 1.752 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/3.615, allocations: 53.28 kB / 1.752 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/3.615, allocations: 63.89 kB / 1.752 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/3.615, allocations: 49.72 kB / 1.752 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002528/3.615, allocations: 239.4 kB / 1.752 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/3.615, allocations: 0 / 1.752 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001509/3.617, allocations: 403.3 kB / 1.753 GB, free: 104.9 MB / 0.6042 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 () * 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.004879/3.622, allocations: 3.331 MB / 1.756 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001757/3.623, allocations: 1.046 MB / 1.757 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/3.623, allocations: 2.953 kB / 1.757 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/3.625, allocations: 0.8503 MB / 1.758 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/3.625, allocations: 126.9 kB / 1.758 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/3.628, allocations: 1.366 MB / 1.759 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/3.629, allocations: 0.935 MB / 1.76 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00127/3.63, allocations: 0.5297 MB / 1.761 GB, free: 99.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/3.631, allocations: 317.2 kB / 1.761 GB, free: 99.32 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/3.631, allocations: 0 / 1.761 GB, free: 99.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/3.68, allocations: 25.24 MB / 1.786 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/3.681, allocations: 188.9 kB / 1.786 GB, free: 74.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/6.699, allocations: 0.7812 kB / 1.786 GB, free: 74.61 MB / 0.6042 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)