Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40",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.001072/0.001072, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.239/1.239, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008628/0.0008629, allocations: 93.41 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7369/0.7369, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 8 kB / 0.5447 GB, free: 41.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 82.85 MB / 0.6256 GB, free: 7.793 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5929/0.734, allocations: 125.6 MB / 0.7483 GB, free: 8.523 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001235/0.7342, allocations: 46.61 kB / 0.7483 GB, free: 8.504 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.06848/0.8027, allocations: 21.27 MB / 0.7691 GB, free: 4.77 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8027, allocations: 0 / 0.7691 GB, free: 4.77 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.8028, allocations: 27.94 kB / 0.7691 GB, free: 4.746 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.006551/0.8093, allocations: 2.868 MB / 0.7719 GB, free: 1.887 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8094, allocations: 8.031 kB / 0.7719 GB, free: 1.879 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.8096, allocations: 173.9 kB / 0.7721 GB, free: 1.766 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.8098, allocations: 115 kB / 0.7722 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.8117, allocations: 0.6596 MB / 0.7728 GB, free: 0.9531 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.8118, allocations: 108.6 kB / 0.7729 GB, free: 0.8906 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.8121, allocations: 204.8 kB / 0.7731 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.8146, allocations: 1.75 MB / 0.7748 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.8146, allocations: 0 / 0.7748 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.8148, allocations: 46.98 kB / 0.7749 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.8148, allocations: 35.89 kB / 0.7749 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.8169, allocations: 1.566 MB / 0.7764 GB, free: 14.18 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.8282, allocations: 8.782 MB / 0.785 GB, free: 4.984 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.8308, allocations: 2.055 MB / 0.787 GB, free: 3.609 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.8309, allocations: 22 kB / 0.787 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.831, allocations: 56.06 kB / 0.7871 GB, free: 3.539 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=199): time 3.176e-06/0.831, allocations: 0 / 0.7871 GB, free: 3.539 MB / 0.5419 GB Notification: Performance of matching and sorting (n=199): time 0.004831/0.8358, allocations: 3.342 MB / 0.7904 GB, free: 1.055 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.8359, allocations: 77.41 kB / 0.7904 GB, free: 0.9648 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.836, allocations: 152.8 kB / 0.7906 GB, free: 0.832 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.8362, allocations: 72.52 kB / 0.7907 GB, free: 0.793 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.8363, allocations: 214 kB / 0.7909 GB, free: 0.6055 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/0.8368, allocations: 0.8197 MB / 0.7917 GB, free: 15.88 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.8369, allocations: 54.38 kB / 0.7917 GB, free: 15.87 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8371, allocations: 422.1 kB / 0.7921 GB, free: 15.49 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.8387, allocations: 1.156 MB / 0.7932 GB, free: 14.65 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.8404, allocations: 1.329 MB / 0.7945 GB, free: 13.66 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.8423, allocations: 1.333 MB / 0.7958 GB, free: 12.75 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8423, allocations: 0 / 0.7958 GB, free: 12.75 MB / 0.5575 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004146/0.8465, allocations: 2.952 MB / 0.7987 GB, free: 10.56 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8465, allocations: 4 kB / 0.7987 GB, free: 10.56 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.8465, allocations: 0 / 0.7987 GB, free: 10.56 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.8466, allocations: 12 kB / 0.7987 GB, free: 10.55 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.8511, allocations: 1.076 MB / 0.7998 GB, free: 9.488 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.8511, allocations: 13.17 kB / 0.7998 GB, free: 9.477 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.8527, allocations: 248.4 kB / 0.8 GB, free: 9.273 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.8529, allocations: 75.06 kB / 0.8001 GB, free: 9.219 MB / 0.5575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 317 * 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.0005024/0.8534, allocations: 334.5 kB / 0.8004 GB, free: 8.945 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.8536, allocations: 79.16 kB / 0.8005 GB, free: 8.867 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.8544, allocations: 296.5 kB / 0.8008 GB, free: 8.848 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.8544, allocations: 20 kB / 0.8008 GB, free: 8.828 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.8544, allocations: 0 / 0.8008 GB, free: 8.828 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8544, allocations: 11.91 kB / 0.8008 GB, free: 8.816 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.8562, allocations: 1.504 MB / 0.8023 GB, free: 7.547 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8562, allocations: 0 / 0.8023 GB, free: 7.547 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005611/0.8618, allocations: 1.08 MB / 0.8033 GB, free: 6.484 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.8618, allocations: 12 kB / 0.8034 GB, free: 6.473 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.862, allocations: 83.17 kB / 0.8034 GB, free: 6.414 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.8621, allocations: 4 kB / 0.8034 GB, free: 6.41 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8621, allocations: 0 / 0.8034 GB, free: 6.41 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005044/0.8671, allocations: 3.899 MB / 0.8072 GB, free: 3.578 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.8673, allocations: 159.9 kB / 0.8074 GB, free: 3.402 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.8675, allocations: 82.73 kB / 0.8075 GB, free: 3.344 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.869, allocations: 137.9 kB / 0.8076 GB, free: 3.234 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.8693, allocations: 117.4 kB / 0.8077 GB, free: 3.129 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8694, allocations: 47.67 kB / 0.8078 GB, free: 3.094 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.8695, allocations: 110 kB / 0.8079 GB, free: 2.996 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8695, allocations: 0 / 0.8079 GB, free: 2.996 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001025/0.8706, allocations: 0.6146 MB / 0.8085 GB, free: 2.441 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (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],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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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.00548/0.876, allocations: 4.553 MB / 0.8129 GB, free: 14.98 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.8798, allocations: 2.713 MB / 0.8156 GB, free: 12.96 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8798, allocations: 0 / 0.8156 GB, free: 12.96 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.8815, allocations: 1.33 MB / 0.8169 GB, free: 12.01 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/0.8824, allocations: 240.7 kB / 0.8171 GB, free: 11.82 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/0.9035, allocations: 19.32 MB / 0.836 GB, free: 10.87 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.9041, allocations: 1.166 MB / 0.8371 GB, free: 9.68 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.00207/0.9061, allocations: 0.8012 MB / 0.8379 GB, free: 8.875 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008519/0.907, allocations: 399.8 kB / 0.8383 GB, free: 8.746 MB / 0.5888 GB Notification: Performance of SimCode: time 8.82e-07/0.907, allocations: 0 / 0.8383 GB, free: 8.746 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/0.9497, allocations: 31.47 MB / 0.869 GB, free: 9.668 MB / 0.62 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.9499, allocations: 243.1 kB / 0.8692 GB, free: 9.422 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.929, allocations: 0 / 0.8692 GB, free: 9.422 MB / 0.62 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat does not exist to compare? outputFormat=mat