Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.000929, allocations: 91.7 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8367/0.8367, allocations: 90.34 MB / 405 MB, free: 8.645 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.786e-05, allocations: 0 / 479.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4261, allocations: 66.25 MB / 0.5327 GB, free: 28.56 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.989/2.415, allocations: 0.7566 GB / 1.289 GB, free: 95.93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/2.415, allocations: 75.97 kB / 1.289 GB, free: 95.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.095/4.51, allocations: 0.5306 GB / 1.82 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.014e-06/4.51, allocations: 0 / 1.82 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001257/4.51, allocations: 35.98 kB / 1.82 GB, free: 23.91 MB / 0.5886 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.009521/4.52, allocations: 2.641 MB / 1.823 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/4.52, allocations: 8.031 kB / 1.823 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004617/4.52, allocations: 139.1 kB / 1.823 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/4.522, allocations: 238.5 kB / 1.823 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/4.524, allocations: 0.5646 MB / 1.823 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/4.524, allocations: 192.8 kB / 1.824 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/4.525, allocations: 84 kB / 1.824 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/4.527, allocations: 0.89 MB / 1.825 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/4.527, allocations: 3.938 kB / 1.825 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/4.527, allocations: 32 kB / 1.825 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/4.527, allocations: 24 kB / 1.825 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/4.528, allocations: 0.6794 MB / 1.825 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/4.533, allocations: 3.661 MB / 1.829 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/4.534, allocations: 0.7862 MB / 1.83 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/4.535, allocations: 379.7 kB / 1.83 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008488/4.536, allocations: 1.126 MB / 1.831 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/4.536, allocations: 39.34 kB / 1.831 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 4.077e-06/4.536, allocations: 0 / 1.831 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.002807/4.539, allocations: 1.091 MB / 1.832 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/4.539, allocations: 64.17 kB / 1.832 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/4.539, allocations: 417 kB / 1.833 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/4.539, allocations: 41.7 kB / 1.833 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/4.539, allocations: 380.4 kB / 1.833 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/4.54, allocations: 287.8 kB / 1.833 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/4.54, allocations: 16 kB / 1.833 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001247/4.54, allocations: 382.7 kB / 1.834 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/4.54, allocations: 265.5 kB / 1.834 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/4.541, allocations: 332.8 kB / 1.834 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/4.541, allocations: 286 kB / 1.835 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/4.541, allocations: 0 / 1.835 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002399/4.544, allocations: 1.126 MB / 1.836 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/4.544, allocations: 10.19 kB / 1.836 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/4.544, allocations: 0 / 1.836 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/4.544, allocations: 174.6 kB / 1.836 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/4.545, allocations: 195.7 kB / 1.836 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/4.549, allocations: 4.639 MB / 1.841 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/4.55, allocations: 99.38 kB / 1.841 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/4.55, allocations: 59.97 kB / 1.841 GB, free: 1.418 MB / 0.5886 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.0002145/4.55, allocations: 148.6 kB / 1.841 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/4.551, allocations: 79 kB / 1.841 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4639/5.015, allocations: 1.459 MB / 1.842 GB, free: 72.67 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/5.015, allocations: 11.69 kB / 1.842 GB, free: 72.67 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/5.015, allocations: 1.688 kB / 1.842 GB, free: 72.67 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/5.015, allocations: 3.75 kB / 1.842 GB, free: 72.67 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/5.019, allocations: 2.303 MB / 1.845 GB, free: 72.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/5.019, allocations: 0 / 1.845 GB, free: 72.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/5.02, allocations: 200.9 kB / 1.845 GB, free: 72.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/5.021, allocations: 181.5 kB / 1.845 GB, free: 72.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/5.021, allocations: 37.23 kB / 1.845 GB, free: 72.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/5.025, allocations: 4.636 MB / 1.85 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.025, allocations: 0.875 kB / 1.85 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/5.029, allocations: 1.656 MB / 1.851 GB, free: 68.38 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/5.029, allocations: 160.3 kB / 1.851 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/5.029, allocations: 17.5 kB / 1.851 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/5.029, allocations: 68.97 kB / 1.851 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/5.03, allocations: 78.09 kB / 1.851 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/5.03, allocations: 62.31 kB / 1.852 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004592/5.03, allocations: 331.1 kB / 1.852 GB, free: 68.17 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/5.03, allocations: 0 / 1.852 GB, free: 68.17 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004208/5.034, allocations: 0.9009 MB / 1.853 GB, free: 68.15 MB / 0.5886 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.01013/5.045, allocations: 4.155 MB / 1.857 GB, free: 67.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002714/5.047, allocations: 1.29 MB / 1.858 GB, free: 66.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/5.047, allocations: 0 / 1.858 GB, free: 66.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/5.049, allocations: 0.9897 MB / 1.859 GB, free: 66.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/5.05, allocations: 191.8 kB / 1.859 GB, free: 66.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/5.055, allocations: 1.98 MB / 1.861 GB, free: 65.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/5.056, allocations: 1.014 MB / 1.862 GB, free: 65.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001201/5.057, allocations: 278 kB / 1.862 GB, free: 65.03 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006603/5.058, allocations: 392.7 kB / 1.863 GB, free: 65.03 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/5.058, allocations: 0 / 1.863 GB, free: 65.03 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09698/5.155, allocations: 48.76 MB / 1.91 GB, free: 63.58 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/5.155, allocations: 230.8 kB / 1.911 GB, free: 63.29 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.951/9.106, allocations: 0 / 1.911 GB, free: 63.29 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat does not exist to compare? outputFormat=mat