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.001455/0.001455, 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.49/1.49, allocations: 221.4 MB / 234.6 MB, free: 14.37 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.001302/0.001302, allocations: 88.67 kB / 285.6 MB, free: 12.98 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.01359/0.01359, allocations: 1.555 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6403/0.6403, allocations: 90.05 MB / 479.4 MB, free: 2.965 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.827e-05/4.829e-05, allocations: 4 kB / 0.5446 GB, free: 7.875 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 69.36 MB / 0.6123 GB, free: 2.426 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.6/2.769, allocations: 0.7543 GB / 1.367 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/2.769, allocations: 80.56 kB / 1.367 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/4.027, allocations: 379.3 MB / 1.737 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/4.027, allocations: 0 / 1.737 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.361e-05/4.027, allocations: 27.98 kB / 1.737 GB, free: 24.52 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.004728/4.032, allocations: 1.581 MB / 1.739 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/4.032, allocations: 19.92 kB / 1.739 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/4.032, allocations: 110.5 kB / 1.739 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/4.034, allocations: 206.8 kB / 1.739 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/4.035, allocations: 492.3 kB / 1.74 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/4.035, allocations: 180 kB / 1.74 GB, free: 21.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/4.035, allocations: 75.97 kB / 1.74 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/4.036, allocations: 0.6236 MB / 1.74 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/4.036, allocations: 4 kB / 1.74 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/4.036, allocations: 28 kB / 1.74 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/4.036, allocations: 19.98 kB / 1.74 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/4.037, allocations: 0.5213 MB / 1.741 GB, free: 20.54 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.003105/4.04, allocations: 2.568 MB / 1.743 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/4.041, allocations: 0.5755 MB / 1.744 GB, free: 17.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/4.042, allocations: 294.5 kB / 1.744 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/4.042, allocations: 0.5864 MB / 1.745 GB, free: 16.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/4.042, allocations: 35.12 kB / 1.745 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 5.64e-06/4.042, allocations: 3.938 kB / 1.745 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.002206/4.044, allocations: 0.9027 MB / 1.746 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/4.044, allocations: 59.97 kB / 1.746 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/4.045, allocations: 335.2 kB / 1.746 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/4.045, allocations: 37.64 kB / 1.746 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/4.045, allocations: 312.5 kB / 1.747 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/4.045, allocations: 212.8 kB / 1.747 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/4.045, allocations: 12 kB / 1.747 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001244/4.045, allocations: 366.8 kB / 1.747 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/4.046, allocations: 205.1 kB / 1.747 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/4.046, allocations: 209 kB / 1.747 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/4.046, allocations: 207.2 kB / 1.748 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/4.046, allocations: 0 / 1.748 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001955/4.048, allocations: 0.9183 MB / 1.749 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/4.048, allocations: 5.25 kB / 1.749 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/4.048, allocations: 4 kB / 1.749 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/4.049, allocations: 154.5 kB / 1.749 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/4.049, allocations: 147.8 kB / 1.749 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/4.053, allocations: 4.502 MB / 1.753 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/4.054, allocations: 79.59 kB / 1.753 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/4.054, allocations: 48.31 kB / 1.753 GB, free: 6.984 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.0001973/4.054, allocations: 128.9 kB / 1.754 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/4.054, allocations: 55.34 kB / 1.754 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/4.057, allocations: 1.433 MB / 1.755 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/4.057, allocations: 4 kB / 1.755 GB, free: 5.344 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/4.057, allocations: 4 kB / 1.755 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/4.057, allocations: 7.938 kB / 1.755 GB, free: 5.332 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/4.061, allocations: 1.867 MB / 1.757 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/4.061, allocations: 0 / 1.757 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/4.061, allocations: 151.8 kB / 1.757 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/4.062, allocations: 154.5 kB / 1.757 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/4.062, allocations: 31.97 kB / 1.757 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5546/4.616, allocations: 4.502 MB / 1.762 GB, free: 93.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/4.617, allocations: 4.484 kB / 1.762 GB, free: 93.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/4.621, allocations: 1.34 MB / 1.763 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/4.621, allocations: 198.9 kB / 1.763 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.465e-05/4.621, allocations: 15.33 kB / 1.763 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/4.622, allocations: 56.91 kB / 1.763 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/4.622, allocations: 62.2 kB / 1.763 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/4.622, allocations: 47.56 kB / 1.763 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005109/4.623, allocations: 268.9 kB / 1.763 GB, free: 92.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/4.623, allocations: 6.156 kB / 1.763 GB, free: 92.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002499/4.625, allocations: 440.2 kB / 1.764 GB, free: 92.63 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.007966/4.633, allocations: 3.184 MB / 1.767 GB, free: 91.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002973/4.636, allocations: 1.098 MB / 1.768 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/4.636, allocations: 0 / 1.768 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/4.639, allocations: 0.8725 MB / 1.769 GB, free: 90.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/4.64, allocations: 145 kB / 1.769 GB, free: 90.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/4.644, allocations: 1.43 MB / 1.77 GB, free: 90.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/4.645, allocations: 0.9431 MB / 1.771 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001952/4.647, allocations: 0.526 MB / 1.772 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009602/4.648, allocations: 319.6 kB / 1.772 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of SimCode: time 1.653e-06/4.648, allocations: 1.188 kB / 1.772 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09638/4.745, allocations: 38.43 MB / 1.81 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/4.745, allocations: 232.1 kB / 1.81 GB, free: 88.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/8.527, allocations: 4 kB / 1.81 GB, free: 88.92 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)