Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80",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.00146/0.001461, allocations: 174.7 kB / 13.63 MB, free: 1.684 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.447/1.447, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.0008346/0.0008347, allocations: 98.03 kB / 286.5 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.578/1.578, allocations: 120.5 MB / 457.9 MB, free: 7.016 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.615e-05, allocations: 4 kB / 0.5368 GB, free: 11.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8348, allocations: 82.83 MB / 0.6177 GB, free: 9.27 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/1.033, allocations: 125.5 MB / 0.7402 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/1.034, allocations: 51.78 kB / 0.7403 GB, free: 11.56 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/2.05, allocations: 43.68 MB / 0.783 GB, free: 110 MB / 0.5421 GB Notification: Performance of FrontEnd: time 8.52e-07/2.05, allocations: 0 / 0.783 GB, free: 110 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 5.444e-05/2.05, allocations: 44 kB / 0.783 GB, free: 110 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 558 * Number of variables: 558 Notification: Performance of Generate backend data structure: time 0.01834/2.068, allocations: 7.073 MB / 0.7899 GB, free: 102.9 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/2.068, allocations: 12.03 kB / 0.7899 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001818/2.07, allocations: 320.2 kB / 0.7902 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/2.072, allocations: 237.8 kB / 0.7905 GB, free: 102.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/2.077, allocations: 1.16 MB / 0.7916 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/2.077, allocations: 220.4 kB / 0.7918 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/2.079, allocations: 411 kB / 0.7922 GB, free: 100.5 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008246/2.087, allocations: 3.46 MB / 0.7956 GB, free: 96.94 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.614e-05/2.087, allocations: 7.938 kB / 0.7956 GB, free: 96.93 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007175/2.088, allocations: 84 kB / 0.7957 GB, free: 96.85 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/2.088, allocations: 55.95 kB / 0.7957 GB, free: 96.8 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005054/2.093, allocations: 3.117 MB / 0.7988 GB, free: 93.66 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/2.115, allocations: 17.73 MB / 0.8161 GB, free: 74.04 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005505/2.121, allocations: 4.369 MB / 0.8203 GB, free: 69.66 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/2.124, allocations: 2.72 MB / 0.823 GB, free: 66.94 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/2.124, allocations: 47.14 kB / 0.823 GB, free: 66.89 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/2.124, allocations: 77.64 kB / 0.8231 GB, free: 66.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=399): time 4.729e-06/2.124, allocations: 0 / 0.8231 GB, free: 66.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=399): time 0.007189/2.132, allocations: 4.653 MB / 0.8277 GB, free: 62.12 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/2.132, allocations: 94.48 kB / 0.8277 GB, free: 62.01 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/2.132, allocations: 185.8 kB / 0.8279 GB, free: 61.82 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/2.132, allocations: 125.7 kB / 0.828 GB, free: 61.7 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/2.132, allocations: 346.8 kB / 0.8284 GB, free: 61.35 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/2.133, allocations: 1.641 MB / 0.83 GB, free: 59.71 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/2.133, allocations: 100 kB / 0.8301 GB, free: 59.62 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001461/2.133, allocations: 0.5095 MB / 0.8306 GB, free: 59.1 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/2.137, allocations: 2.306 MB / 0.8328 GB, free: 56.79 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/2.14, allocations: 2.631 MB / 0.8354 GB, free: 54.13 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/2.143, allocations: 2.659 MB / 0.838 GB, free: 51.43 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/2.143, allocations: 0 / 0.838 GB, free: 51.43 MB / 0.5421 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.00755/2.151, allocations: 5.828 MB / 0.8437 GB, free: 45.53 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/2.151, allocations: 8 kB / 0.8437 GB, free: 45.52 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.151, allocations: 0 / 0.8437 GB, free: 45.52 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/2.151, allocations: 23.95 kB / 0.8437 GB, free: 45.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008013/2.159, allocations: 2.173 MB / 0.8458 GB, free: 43.32 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-05/2.159, allocations: 23.98 kB / 0.8459 GB, free: 43.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/2.162, allocations: 0.5039 MB / 0.8463 GB, free: 42.79 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/2.162, allocations: 144 kB / 0.8465 GB, free: 42.65 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 637 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006859/2.163, allocations: 328 kB / 0.8468 GB, free: 42.32 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/2.163, allocations: 142.5 kB / 0.8469 GB, free: 42.18 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/2.165, allocations: 0.5731 MB / 0.8475 GB, free: 41.6 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/2.165, allocations: 43.95 kB / 0.8475 GB, free: 41.56 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/2.165, allocations: 7.938 kB / 0.8475 GB, free: 41.55 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/2.165, allocations: 19.92 kB / 0.8476 GB, free: 41.53 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/2.168, allocations: 2.987 MB / 0.8505 GB, free: 38.52 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/2.168, allocations: 0 / 0.8505 GB, free: 38.52 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009843/2.178, allocations: 2.174 MB / 0.8526 GB, free: 36.34 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.6e-05/2.178, allocations: 16 kB / 0.8526 GB, free: 36.32 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/2.179, allocations: 171.8 kB / 0.8528 GB, free: 36.16 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/2.179, allocations: 19.95 kB / 0.8528 GB, free: 36.14 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/2.179, allocations: 0 / 0.8528 GB, free: 36.14 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009139/2.188, allocations: 7.615 MB / 0.8602 GB, free: 28.45 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/2.188, allocations: 254.6 kB / 0.8605 GB, free: 28.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/2.188, allocations: 159.8 kB / 0.8606 GB, free: 28.03 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/2.191, allocations: 286.8 kB / 0.8609 GB, free: 27.75 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/2.192, allocations: 230.8 kB / 0.8611 GB, free: 27.52 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002901/2.192, allocations: 108 kB / 0.8612 GB, free: 27.41 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.637e-05/2.192, allocations: 98.09 kB / 0.8613 GB, free: 27.32 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/2.192, allocations: 0 / 0.8613 GB, free: 27.32 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001627/2.194, allocations: 1.237 MB / 0.8625 GB, free: 26.08 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 237 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],TAtilde[40],TAtilde[41],TAtilde[42],TAtilde[43],TAtilde[44],TAtilde[45],TAtilde[46],TAtilde[47],TAtilde[48],TAtilde[49],TAtilde[50],TAtilde[51],TAtilde[52],TAtilde[53],TAtilde[54],TAtilde[55],TAtilde[56],TAtilde[57],TAtilde[58],TAtilde[59],TAtilde[60],TAtilde[61],TAtilde[62],TAtilde[63],TAtilde[64],TAtilde[65],TAtilde[66],TAtilde[67],TAtilde[68],TAtilde[69],TAtilde[70],TAtilde[71],TAtilde[72],TAtilde[73],TAtilde[74],TAtilde[75],TAtilde[76],TAtilde[77],TAtilde[78],TAtilde[79],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],TBtilde[40],TBtilde[41],TBtilde[42],TBtilde[43],TBtilde[44],TBtilde[45],TBtilde[46],TBtilde[47],TBtilde[48],TBtilde[49],TBtilde[50],TBtilde[51],TBtilde[52],TBtilde[53],TBtilde[54],TBtilde[55],TBtilde[56],TBtilde[57],TBtilde[58],TBtilde[59],TBtilde[60],TBtilde[61],TBtilde[62],TBtilde[63],TBtilde[64],TBtilde[65],TBtilde[66],TBtilde[67],TBtilde[68],TBtilde[69],TBtilde[70],TBtilde[71],TBtilde[72],TBtilde[73],TBtilde[74],TBtilde[75],TBtilde[76],TBtilde[77],TBtilde[78],TBtilde[79],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39],TW[40],TW[41],TW[42],TW[43],TW[44],TW[45],TW[46],TW[47],TW[48],TW[49],TW[50],TW[51],TW[52],TW[53],TW[54],TW[55],TW[56],TW[57],TW[58],TW[59],TW[60],TW[61],TW[62],TW[63],TW[64],TW[65],TW[66],TW[67],TW[68],TW[69],TW[70],TW[71],TW[72],TW[73],TW[74],TW[75],TW[76],TW[77],TW[78],TW[79]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (399): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009519/2.203, allocations: 8.407 MB / 0.8707 GB, free: 17.59 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006378/2.21, allocations: 5.4 MB / 0.876 GB, free: 12.17 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.21, allocations: 0 / 0.876 GB, free: 12.17 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.002964/2.213, allocations: 2.657 MB / 0.8786 GB, free: 9.516 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/2.214, allocations: 484.2 kB / 0.8791 GB, free: 9.043 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/2.24, allocations: 24.34 MB / 0.9028 GB, free: 0.6445 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/2.241, allocations: 1.665 MB / 0.9045 GB, free: 14.94 MB / 0.5734 GB Notification: Performance of simCode: alias equations: time 0.004287/2.245, allocations: 1.649 MB / 0.9061 GB, free: 13.29 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/2.247, allocations: 0.7961 MB / 0.9069 GB, free: 12.49 MB / 0.5734 GB Notification: Performance of SimCode: time 7.01e-07/2.247, allocations: 0 / 0.9069 GB, free: 12.49 MB / 0.5734 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.229/6.476, allocations: 61.84 MB / 0.9672 GB, free: 15.11 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/6.476, allocations: 210.9 kB / 0.9674 GB, free: 14.89 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/10.82, allocations: 0 / 0.9674 GB, free: 14.89 MB / 0.6359 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_80_res.mat does not exist to compare? outputFormat=mat