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.001684/0.001684, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.531/1.531, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009773, allocations: 86.12 kB / 285.6 MB, free: 12.97 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.01042/0.01042, allocations: 1.554 MB / 338.1 MB, free: 8.461 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6493/0.6493, allocations: 90.04 MB / 479.3 MB, free: 2.961 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.986e-05/5.998e-05, allocations: 0 / 0.5446 GB, free: 7.875 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1923, allocations: 69.36 MB / 0.6123 GB, free: 2.426 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.628/2.821, allocations: 0.7557 GB / 1.368 GB, free: 207.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/2.821, allocations: 79.12 kB / 1.368 GB, free: 207.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.162/4.982, allocations: 476.9 MB / 1.834 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/4.983, allocations: 0 / 1.834 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001573/4.983, allocations: 33.84 kB / 1.834 GB, free: 90.02 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.007267/4.99, allocations: 1.926 MB / 1.836 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/4.99, allocations: 19.45 kB / 1.836 GB, free: 89.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005046/4.991, allocations: 131.2 kB / 1.836 GB, free: 89.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/4.993, allocations: 248.6 kB / 1.836 GB, free: 89.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/4.994, allocations: 0.5531 MB / 1.837 GB, free: 89.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/4.995, allocations: 199.9 kB / 1.837 GB, free: 89.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/4.995, allocations: 102 kB / 1.837 GB, free: 89.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/4.997, allocations: 0.8812 MB / 1.838 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/4.997, allocations: 5.062 kB / 1.838 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/4.997, allocations: 33.16 kB / 1.838 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/4.998, allocations: 19.5 kB / 1.838 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/4.999, allocations: 0.6694 MB / 1.839 GB, free: 88.95 MB / 0.6198 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.006012/5.005, allocations: 3.624 MB / 1.842 GB, free: 87.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/5.007, allocations: 0.8033 MB / 1.843 GB, free: 87.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/5.008, allocations: 374.4 kB / 1.843 GB, free: 87.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/5.009, allocations: 1.378 MB / 1.845 GB, free: 85.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/5.009, allocations: 41.91 kB / 1.845 GB, free: 85.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 6.151e-06/5.009, allocations: 4.25 kB / 1.845 GB, free: 85.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.003507/5.012, allocations: 1.088 MB / 1.846 GB, free: 85.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/5.013, allocations: 60.84 kB / 1.846 GB, free: 85.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/5.013, allocations: 421.7 kB / 1.846 GB, free: 85.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/5.013, allocations: 41.52 kB / 1.846 GB, free: 85.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/5.014, allocations: 382.7 kB / 1.847 GB, free: 84.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/5.014, allocations: 291.1 kB / 1.847 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/5.014, allocations: 20.25 kB / 1.847 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002059/5.014, allocations: 386 kB / 1.847 GB, free: 84.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/5.015, allocations: 258.8 kB / 1.847 GB, free: 84.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/5.016, allocations: 335.3 kB / 1.848 GB, free: 84.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/5.016, allocations: 283.7 kB / 1.848 GB, free: 84.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/5.016, allocations: 2.875 kB / 1.848 GB, free: 84.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003291/5.02, allocations: 1.12 MB / 1.849 GB, free: 84.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/5.02, allocations: 10.42 kB / 1.849 GB, free: 84.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/5.02, allocations: 4.734 kB / 1.849 GB, free: 84.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006897/5.02, allocations: 173.2 kB / 1.849 GB, free: 84.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/5.021, allocations: 197.9 kB / 1.849 GB, free: 84.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/5.027, allocations: 4.63 MB / 1.854 GB, free: 80.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000876/5.028, allocations: 102.3 kB / 1.854 GB, free: 80.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/5.028, allocations: 55.94 kB / 1.854 GB, free: 80.48 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 () * 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.0002656/5.028, allocations: 146.2 kB / 1.854 GB, free: 80.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000396/5.029, allocations: 76.31 kB / 1.854 GB, free: 80.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/5.033, allocations: 1.731 MB / 1.856 GB, free: 80.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/5.033, allocations: 13.08 kB / 1.856 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/5.033, allocations: 3 kB / 1.856 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/5.033, allocations: 7.547 kB / 1.856 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/5.039, allocations: 2.304 MB / 1.858 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/5.039, allocations: 0 / 1.858 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/5.04, allocations: 204.3 kB / 1.859 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/5.041, allocations: 176.4 kB / 1.859 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/5.041, allocations: 41.25 kB / 1.859 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/5.045, allocations: 4.632 MB / 1.863 GB, free: 76.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/5.045, allocations: 3 kB / 1.863 GB, free: 76.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/5.049, allocations: 1.665 MB / 1.865 GB, free: 75.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/5.05, allocations: 235 kB / 1.865 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/5.05, allocations: 20.56 kB / 1.865 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/5.051, allocations: 63.89 kB / 1.865 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/5.051, allocations: 78.92 kB / 1.865 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/5.051, allocations: 62.69 kB / 1.865 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005428/5.052, allocations: 337.6 kB / 1.866 GB, free: 75.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/5.052, allocations: 0 / 1.866 GB, free: 75.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003142/5.055, allocations: 0.5827 MB / 1.866 GB, free: 75.45 MB / 0.6198 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.007952/5.063, allocations: 3.639 MB / 1.87 GB, free: 74.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002831/5.066, allocations: 1.293 MB / 1.871 GB, free: 73.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/5.066, allocations: 1.938 kB / 1.871 GB, free: 73.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/5.067, allocations: 0.986 MB / 1.872 GB, free: 73.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/5.069, allocations: 183.8 kB / 1.872 GB, free: 73.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/5.074, allocations: 1.87 MB / 1.874 GB, free: 72.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/5.075, allocations: 1.022 MB / 1.875 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001641/5.076, allocations: 0.6037 MB / 1.876 GB, free: 72.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008414/5.077, allocations: 420.8 kB / 1.876 GB, free: 72.26 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/5.077, allocations: 3.062 kB / 1.876 GB, free: 72.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/5.178, allocations: 43.99 MB / 1.919 GB, free: 71.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/5.179, allocations: 215.1 kB / 1.919 GB, free: 70.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.266/9.444, allocations: 7.25 kB / 1.919 GB, free: 70.98 MB / 0.6198 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)