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.001088/0.001088, allocations: 174.8 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.613/1.613, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.001001/0.001001, allocations: 95.53 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.554/1.554, allocations: 120.5 MB / 457.9 MB, free: 7.016 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.142e-05, allocations: 3.984 kB / 0.5368 GB, free: 11.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7893, allocations: 82.84 MB / 0.6177 GB, free: 9.266 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.9805, allocations: 125.5 MB / 0.7402 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.9807, allocations: 47.84 kB / 0.7403 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9226/1.903, allocations: 21.34 MB / 0.7611 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.062e-06/1.903, allocations: 0 / 0.7611 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 2.993e-05/1.903, allocations: 19.09 kB / 0.7612 GB, free: 128.1 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.007589/1.911, allocations: 2.852 MB / 0.7639 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.911, allocations: 10.03 kB / 0.7639 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006132/1.912, allocations: 170.8 kB / 0.7641 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/1.912, allocations: 128.4 kB / 0.7642 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/1.914, allocations: 0.6596 MB / 0.7649 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/1.914, allocations: 108.1 kB / 0.765 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/1.915, allocations: 201.6 kB / 0.7652 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.917, allocations: 1.719 MB / 0.7668 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.917, allocations: 0 / 0.7668 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/1.917, allocations: 46.78 kB / 0.7669 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/1.917, allocations: 29.11 kB / 0.7669 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/1.919, allocations: 1.534 MB / 0.7684 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009578/1.929, allocations: 8.772 MB / 0.777 GB, free: 115 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/1.931, allocations: 2.022 MB / 0.779 GB, free: 113 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.933, allocations: 1.327 MB / 0.7803 GB, free: 111.7 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/1.933, allocations: 25.98 kB / 0.7803 GB, free: 111.7 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.933, allocations: 58.06 kB / 0.7803 GB, free: 111.6 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 2.815e-06/1.933, allocations: 0 / 0.7803 GB, free: 111.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.003226/1.936, allocations: 2.317 MB / 0.7826 GB, free: 109.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/1.936, allocations: 77.41 kB / 0.7827 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/1.936, allocations: 146.4 kB / 0.7828 GB, free: 109 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.937, allocations: 81.69 kB / 0.7829 GB, free: 109 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/1.937, allocations: 220.4 kB / 0.7831 GB, free: 108.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/1.937, allocations: 0.8119 MB / 0.7839 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.937, allocations: 48 kB / 0.7839 GB, free: 107.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/1.937, allocations: 427.7 kB / 0.7843 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/1.939, allocations: 1.133 MB / 0.7855 GB, free: 106.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.94, allocations: 1.306 MB / 0.7867 GB, free: 105 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.942, allocations: 1.312 MB / 0.788 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.942, allocations: 0 / 0.788 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00375/1.946, allocations: 2.892 MB / 0.7908 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.946, allocations: 4 kB / 0.7908 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.946, allocations: 0 / 0.7908 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.946, allocations: 12 kB / 0.7909 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/1.95, allocations: 1.077 MB / 0.7919 GB, free: 99.64 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/1.95, allocations: 12 kB / 0.7919 GB, free: 99.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/1.951, allocations: 250 kB / 0.7922 GB, free: 99.38 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.952, allocations: 72 kB / 0.7922 GB, free: 99.31 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 (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.0003328/1.952, allocations: 220.4 kB / 0.7924 GB, free: 99.09 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.952, allocations: 75.16 kB / 0.7925 GB, free: 99.01 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008784/1.953, allocations: 295.5 kB / 0.7928 GB, free: 98.72 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.953, allocations: 16 kB / 0.7928 GB, free: 98.7 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.953, allocations: 4 kB / 0.7928 GB, free: 98.7 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.953, allocations: 11.97 kB / 0.7928 GB, free: 98.69 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.955, allocations: 1.509 MB / 0.7943 GB, free: 97.19 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.955, allocations: 0 / 0.7943 GB, free: 97.19 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004916/1.96, allocations: 1.081 MB / 0.7953 GB, free: 96.11 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.96, allocations: 8 kB / 0.7954 GB, free: 96.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/1.96, allocations: 83.91 kB / 0.7954 GB, free: 96.02 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.96, allocations: 8 kB / 0.7954 GB, free: 96.01 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.96, allocations: 0 / 0.7954 GB, free: 96.01 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/1.964, allocations: 3.838 MB / 0.7992 GB, free: 92.14 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/1.965, allocations: 159.9 kB / 0.7993 GB, free: 91.97 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.965, allocations: 79.94 kB / 0.7994 GB, free: 91.89 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.966, allocations: 135.4 kB / 0.7995 GB, free: 91.76 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/1.966, allocations: 117.8 kB / 0.7997 GB, free: 91.64 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.967, allocations: 51.97 kB / 0.7997 GB, free: 91.59 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.771e-05/1.967, allocations: 100.8 kB / 0.7998 GB, free: 91.49 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.71e-07/1.967, allocations: 0 / 0.7998 GB, free: 91.49 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008654/1.968, allocations: 0.6167 MB / 0.8004 GB, free: 90.88 MB / 0.5421 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 () * 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.004885/1.972, allocations: 4.48 MB / 0.8048 GB, free: 86.37 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003196/1.976, allocations: 2.664 MB / 0.8074 GB, free: 83.7 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.976, allocations: 0 / 0.8074 GB, free: 83.7 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/1.977, allocations: 1.315 MB / 0.8087 GB, free: 82.38 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/1.978, allocations: 238.8 kB / 0.8089 GB, free: 82.15 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.989, allocations: 11.27 MB / 0.8199 GB, free: 70.86 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/1.989, allocations: 1.17 MB / 0.821 GB, free: 69.66 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001916/1.991, allocations: 0.8127 MB / 0.8218 GB, free: 68.84 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/1.992, allocations: 388.9 kB / 0.8222 GB, free: 68.46 MB / 0.5421 GB Notification: Performance of SimCode: time 5.11e-07/1.992, allocations: 0 / 0.8222 GB, free: 68.46 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.398/5.39, allocations: 31.17 MB / 0.8526 GB, free: 37.64 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/5.39, allocations: 216.1 kB / 0.8529 GB, free: 37.41 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/8.165, allocations: 0 / 0.8529 GB, free: 37.41 MB / 0.5421 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