Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.001184/0.001184, allocations: 180.9 kB / 7.651 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.448/1.448, 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.00109/0.00109, allocations: 104.2 kB / 280.5 MB, free: 5.324 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.01008/0.01008, allocations: 1.565 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7678/0.7678, allocations: 90.05 MB / 474 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.238e-05, allocations: 2.5 kB / 0.5376 GB, free: 33.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1582, allocations: 69.38 MB / 0.6053 GB, free: 20 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.807/1.965, allocations: 0.7551 GB / 1.36 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.965, allocations: 75.78 kB / 1.36 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.709/3.675, allocations: 473 MB / 1.822 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/3.675, allocations: 0 / 1.822 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.968e-05/3.675, allocations: 32.17 kB / 1.822 GB, free: 38.36 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.00565/3.68, allocations: 1.924 MB / 1.824 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/3.68, allocations: 8.031 kB / 1.824 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/3.682, allocations: 238.5 kB / 1.825 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/3.683, allocations: 0.576 MB / 1.825 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/3.683, allocations: 168.8 kB / 1.825 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/3.684, allocations: 56 kB / 1.825 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009915/3.685, allocations: 0.6131 MB / 1.826 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/3.686, allocations: 0.7729 MB / 1.827 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/3.686, allocations: 0 / 1.827 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/3.686, allocations: 0 / 1.827 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/3.686, allocations: 20 kB / 1.827 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/3.69, allocations: 3.505 MB / 1.83 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/3.691, allocations: 0.7461 MB / 1.831 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/3.691, allocations: 352.4 kB / 1.831 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/3.692, allocations: 1.382 MB / 1.833 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/3.692, allocations: 39.34 kB / 1.833 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 3.506e-06/3.692, allocations: 0 / 1.833 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.002867/3.695, allocations: 1.079 MB / 1.834 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/3.695, allocations: 64.17 kB / 1.834 GB, free: 26.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/3.695, allocations: 358.3 kB / 1.834 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/3.695, allocations: 29.7 kB / 1.834 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/3.696, allocations: 384.2 kB / 1.834 GB, free: 25.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/3.696, allocations: 279.8 kB / 1.835 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/3.696, allocations: 0 / 1.835 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001131/3.696, allocations: 378.8 kB / 1.835 GB, free: 24.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/3.696, allocations: 249.5 kB / 1.835 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/3.697, allocations: 323.2 kB / 1.836 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009469/3.698, allocations: 324.4 kB / 1.836 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/3.698, allocations: 0 / 1.836 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002621/3.7, allocations: 1.13 MB / 1.837 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/3.7, allocations: 4 kB / 1.837 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/3.7, allocations: 4 kB / 1.837 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/3.701, allocations: 170.6 kB / 1.837 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/3.702, allocations: 199.8 kB / 1.837 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/3.705, allocations: 4.484 MB / 1.842 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/3.706, allocations: 87.44 kB / 1.842 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/3.706, allocations: 55.94 kB / 1.842 GB, free: 17.21 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.0001833/3.706, allocations: 116.8 kB / 1.842 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002712/3.709, allocations: 1.079 MB / 1.843 GB, free: 16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/3.709, allocations: 79.02 kB / 1.843 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/3.713, allocations: 1.71 MB / 1.845 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/3.713, allocations: 8 kB / 1.845 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/3.713, allocations: 4 kB / 1.845 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/3.713, allocations: 7.969 kB / 1.845 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/3.717, allocations: 2.178 MB / 1.847 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/3.717, allocations: 0 / 1.847 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008844/3.718, allocations: 211.8 kB / 1.847 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/3.718, allocations: 178.3 kB / 1.847 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/3.718, allocations: 23.98 kB / 1.847 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/3.722, allocations: 4.499 MB / 1.852 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/3.722, allocations: 0 / 1.852 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/3.725, allocations: 1.653 MB / 1.853 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/3.725, allocations: 148 kB / 1.853 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/3.725, allocations: 8.062 kB / 1.853 GB, free: 4.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/3.726, allocations: 55.8 kB / 1.854 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/3.726, allocations: 76.67 kB / 1.854 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/3.726, allocations: 59.97 kB / 1.854 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003001/3.726, allocations: 279 kB / 1.854 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/3.726, allocations: 0 / 1.854 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001994/3.728, allocations: 0.5186 MB / 1.854 GB, free: 3.828 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,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 (81): * Single equations (assignments): 76 * 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.4083/4.136, allocations: 3.796 MB / 1.858 GB, free: 89.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002919/4.139, allocations: 1.223 MB / 1.859 GB, free: 88.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/4.139, allocations: 0.6562 kB / 1.859 GB, free: 88.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/4.141, allocations: 0.952 MB / 1.86 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/4.142, allocations: 163.8 kB / 1.86 GB, free: 88.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/4.147, allocations: 1.773 MB / 1.862 GB, free: 88.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/4.147, allocations: 1.02 MB / 1.863 GB, free: 87.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001474/4.149, allocations: 0.6 MB / 1.864 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007233/4.15, allocations: 408 kB / 1.864 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/4.15, allocations: 0 / 1.864 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/4.221, allocations: 30.14 MB / 1.894 GB, free: 87.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/4.221, allocations: 176.2 kB / 1.894 GB, free: 86.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/7.395, allocations: 2.188 kB / 1.894 GB, free: 86.82 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)