Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",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.001023/0.001023, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.176/1.176, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0008461/0.000846, allocations: 84.73 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7511/0.7511, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 12 kB / 0.5447 GB, free: 41.06 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 82.85 MB / 0.6256 GB, free: 7.777 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6443/0.7778, allocations: 125.6 MB / 0.7483 GB, free: 8.438 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001357/0.778, allocations: 46.8 kB / 0.7483 GB, free: 8.418 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03422/0.8122, allocations: 10.76 MB / 0.7588 GB, free: 14.48 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8123, allocations: 0 / 0.7588 GB, free: 14.48 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.8123, allocations: 12 kB / 0.7588 GB, free: 14.46 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003009/0.8153, allocations: 1.373 MB / 0.7602 GB, free: 13.07 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8153, allocations: 12.03 kB / 0.7602 GB, free: 13.06 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.8155, allocations: 101 kB / 0.7603 GB, free: 12.99 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.8156, allocations: 59.44 kB / 0.7603 GB, free: 12.93 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.8166, allocations: 427.3 kB / 0.7608 GB, free: 12.47 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.8167, allocations: 52.31 kB / 0.7608 GB, free: 12.45 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.8168, allocations: 101.9 kB / 0.7609 GB, free: 12.38 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.8182, allocations: 0.8733 MB / 0.7618 GB, free: 11.7 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8182, allocations: 4 kB / 0.7618 GB, free: 11.7 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.8183, allocations: 19.44 kB / 0.7618 GB, free: 11.7 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.8183, allocations: 15.95 kB / 0.7618 GB, free: 11.68 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.8194, allocations: 0.7659 MB / 0.7625 GB, free: 11.11 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005467/0.8249, allocations: 4.356 MB / 0.7668 GB, free: 6.523 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.8262, allocations: 0.9641 MB / 0.7677 GB, free: 5.859 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.8263, allocations: 16.94 kB / 0.7678 GB, free: 5.844 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.8264, allocations: 43.38 kB / 0.7678 GB, free: 5.801 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=99): time 2.024e-06/0.8264, allocations: 0 / 0.7678 GB, free: 5.801 MB / 0.5263 GB Notification: Performance of matching and sorting (n=99): time 0.002463/0.8288, allocations: 1.654 MB / 0.7694 GB, free: 4.551 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.8289, allocations: 68.36 kB / 0.7695 GB, free: 4.473 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.829, allocations: 128.2 kB / 0.7696 GB, free: 4.355 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.8291, allocations: 49.27 kB / 0.7696 GB, free: 4.32 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.8292, allocations: 160.6 kB / 0.7698 GB, free: 4.176 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.8294, allocations: 416 kB / 0.7702 GB, free: 3.82 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.8295, allocations: 23.38 kB / 0.7702 GB, free: 3.816 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8296, allocations: 370.1 kB / 0.7706 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.8304, allocations: 0.562 MB / 0.7711 GB, free: 3.059 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008533/0.8313, allocations: 0.6594 MB / 0.7718 GB, free: 2.562 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/0.8322, allocations: 0.6497 MB / 0.7724 GB, free: 2.121 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8322, allocations: 3.938 kB / 0.7724 GB, free: 2.117 MB / 0.5263 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002055/0.8343, allocations: 1.457 MB / 0.7738 GB, free: 1.043 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8343, allocations: 11.16 kB / 0.7738 GB, free: 1.035 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8343, allocations: 7.938 kB / 0.7738 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8343, allocations: 4 kB / 0.7738 GB, free: 1.023 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.8365, allocations: 0.5265 MB / 0.7744 GB, free: 0.5078 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.8365, allocations: 6.938 kB / 0.7744 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.8373, allocations: 126.3 kB / 0.7745 GB, free: 408 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.8374, allocations: 31.81 kB / 0.7745 GB, free: 384 kB / 0.5263 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 (157): * Single equations (assignments): 157 * 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.0002823/0.8377, allocations: 228.4 kB / 0.7747 GB, free: 180 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.8378, allocations: 35.62 kB / 0.7748 GB, free: 144 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.8382, allocations: 150.1 kB / 0.7749 GB, free: 132 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.8382, allocations: 8 kB / 0.7749 GB, free: 124 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.8382, allocations: 0 / 0.7749 GB, free: 124 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.8383, allocations: 3.984 kB / 0.7749 GB, free: 120 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009583/0.8392, allocations: 0.7968 MB / 0.7757 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8392, allocations: 0 / 0.7757 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/0.842, allocations: 0.5344 MB / 0.7762 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.8421, allocations: 4 kB / 0.7762 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.8422, allocations: 43.64 kB / 0.7763 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.8422, allocations: 4 kB / 0.7763 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8422, allocations: 0 / 0.7763 GB, free: 14.85 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.8447, allocations: 1.971 MB / 0.7782 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.8448, allocations: 120.5 kB / 0.7783 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.8449, allocations: 39.59 kB / 0.7783 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/0.8457, allocations: 70.81 kB / 0.7784 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.8459, allocations: 60.72 kB / 0.7785 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.8459, allocations: 27.44 kB / 0.7785 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.846, allocations: 92.61 kB / 0.7786 GB, free: 13 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.846, allocations: 0 / 0.7786 GB, free: 13 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0005706/0.8466, allocations: 322.7 kB / 0.7789 GB, free: 12.72 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (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],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],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]) * 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 (99): * Single equations (assignments): 99 * 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.00289/0.8495, allocations: 2.56 MB / 0.7814 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.8512, allocations: 1.324 MB / 0.7827 GB, free: 9.684 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8513, allocations: 0 / 0.7827 GB, free: 9.684 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.8521, allocations: 0.6512 MB / 0.7833 GB, free: 9.211 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.8526, allocations: 114.5 kB / 0.7834 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.8632, allocations: 9.546 MB / 0.7928 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.8636, allocations: 0.9273 MB / 0.7937 GB, free: 15.78 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.001052/0.8647, allocations: 392.5 kB / 0.794 GB, free: 15.39 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.8651, allocations: 190.1 kB / 0.7942 GB, free: 15.33 MB / 0.5575 GB Notification: Performance of SimCode: time 1.032e-06/0.8651, allocations: 0 / 0.7942 GB, free: 15.33 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.8938, allocations: 16.01 MB / 0.8099 GB, free: 15.62 MB / 0.5732 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.894, allocations: 240.2 kB / 0.8101 GB, free: 15.38 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.16, allocations: 0 / 0.8101 GB, free: 15.38 MB / 0.5732 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat