Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.001067/0.001067, allocations: 181.2 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.246/1.246, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009323/0.0009324, allocations: 98.09 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6931/0.6931, allocations: 120.5 MB / 463 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 8 kB / 0.5447 GB, free: 41.07 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 82.85 MB / 0.6256 GB, free: 7.816 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6027/0.7298, allocations: 125.6 MB / 0.7483 GB, free: 8.707 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001235/0.7299, allocations: 48.17 kB / 0.7483 GB, free: 8.688 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03466/0.7646, allocations: 10.31 MB / 0.7584 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7646, allocations: 0 / 0.7584 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.7647, allocations: 12 kB / 0.7584 GB, free: 15.17 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.003212/0.7679, allocations: 1.37 MB / 0.7597 GB, free: 13.79 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7679, allocations: 8.031 kB / 0.7597 GB, free: 13.78 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.7681, allocations: 109.8 kB / 0.7598 GB, free: 13.7 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.7683, allocations: 59.44 kB / 0.7599 GB, free: 13.64 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.7694, allocations: 424.8 kB / 0.7603 GB, free: 13.18 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.7695, allocations: 51.94 kB / 0.7603 GB, free: 13.16 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.7696, allocations: 101.7 kB / 0.7604 GB, free: 13.09 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.7718, allocations: 0.8768 MB / 0.7613 GB, free: 12.41 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.7719, allocations: 0 / 0.7613 GB, free: 12.41 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.7721, allocations: 27.38 kB / 0.7613 GB, free: 12.4 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.7722, allocations: 15.95 kB / 0.7613 GB, free: 12.38 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.7734, allocations: 0.7667 MB / 0.7621 GB, free: 11.81 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006016/0.7794, allocations: 4.361 MB / 0.7663 GB, free: 7.223 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.7808, allocations: 0.9772 MB / 0.7673 GB, free: 6.555 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/0.7809, allocations: 9 kB / 0.7673 GB, free: 6.547 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.7809, allocations: 39.44 kB / 0.7673 GB, free: 6.504 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=99): time 3.055e-06/0.7809, allocations: 4 kB / 0.7673 GB, free: 6.5 MB / 0.5263 GB Notification: Performance of matching and sorting (n=99): time 0.002602/0.7835, allocations: 1.67 MB / 0.769 GB, free: 5.25 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.7836, allocations: 64.36 kB / 0.769 GB, free: 5.176 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7837, allocations: 132.2 kB / 0.7692 GB, free: 5.055 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.7838, allocations: 53.14 kB / 0.7692 GB, free: 5.016 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.7839, allocations: 152.6 kB / 0.7694 GB, free: 4.879 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.7842, allocations: 420.4 kB / 0.7698 GB, free: 4.52 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.7843, allocations: 23.25 kB / 0.7698 GB, free: 4.516 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7845, allocations: 366.1 kB / 0.7701 GB, free: 4.168 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/0.7854, allocations: 0.5735 MB / 0.7707 GB, free: 3.754 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.7863, allocations: 0.653 MB / 0.7713 GB, free: 3.266 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/0.7873, allocations: 0.6578 MB / 0.772 GB, free: 2.82 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7873, allocations: 3.938 kB / 0.772 GB, free: 2.816 MB / 0.5263 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002258/0.7896, allocations: 1.469 MB / 0.7734 GB, free: 1.734 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7896, allocations: 6.812 kB / 0.7734 GB, free: 1.73 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7896, allocations: 1.094 kB / 0.7734 GB, free: 1.73 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.7897, allocations: 8 kB / 0.7734 GB, free: 1.723 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.7921, allocations: 0.5226 MB / 0.7739 GB, free: 1.207 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.282e-05/0.7922, allocations: 8 kB / 0.7739 GB, free: 1.199 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.7934, allocations: 125.9 kB / 0.7741 GB, free: 1.094 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.7935, allocations: 39.67 kB / 0.7741 GB, free: 1.066 MB / 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.0002984/0.7938, allocations: 224.1 kB / 0.7743 GB, free: 0.8711 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.7939, allocations: 39.61 kB / 0.7743 GB, free: 0.832 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.7943, allocations: 146.8 kB / 0.7745 GB, free: 0.8203 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/0.7943, allocations: 8 kB / 0.7745 GB, free: 0.8125 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.7943, allocations: 0 / 0.7745 GB, free: 0.8125 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.7943, allocations: 3.984 kB / 0.7745 GB, free: 0.8086 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.7953, allocations: 0.8004 MB / 0.7753 GB, free: 104 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7953, allocations: 0 / 0.7753 GB, free: 104 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/0.7983, allocations: 0.5267 MB / 0.7758 GB, free: 15.58 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.7983, allocations: 4 kB / 0.7758 GB, free: 15.58 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.7984, allocations: 43.52 kB / 0.7758 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.7985, allocations: 0 / 0.7758 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7985, allocations: 7.938 kB / 0.7758 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.8012, allocations: 1.977 MB / 0.7778 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.8013, allocations: 124.5 kB / 0.7779 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.8015, allocations: 43.53 kB / 0.7779 GB, free: 13.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/0.8023, allocations: 67 kB / 0.778 GB, free: 13.85 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.8025, allocations: 56.61 kB / 0.7781 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.8026, allocations: 27.8 kB / 0.7781 GB, free: 13.78 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.8026, allocations: 100.4 kB / 0.7782 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8026, allocations: 0 / 0.7782 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007269/0.8034, allocations: 310.8 kB / 0.7785 GB, free: 13.42 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.002983/0.8064, allocations: 2.572 MB / 0.781 GB, free: 11.37 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.8083, allocations: 1.333 MB / 0.7823 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8084, allocations: 0 / 0.7823 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.8092, allocations: 0.6504 MB / 0.7829 GB, free: 9.902 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.8098, allocations: 128.8 kB / 0.783 GB, free: 9.809 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.8217, allocations: 9.514 MB / 0.7923 GB, free: 1.453 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.8223, allocations: 0.9274 MB / 0.7932 GB, free: 0.5039 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.001332/0.8236, allocations: 392.5 kB / 0.7936 GB, free: 120 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.8241, allocations: 195.1 kB / 0.7938 GB, free: 52 kB / 0.5419 GB Notification: Performance of SimCode: time 5.41e-07/0.8241, allocations: 0 / 0.7938 GB, free: 52 kB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.8552, allocations: 16.01 MB / 0.8094 GB, free: 348 kB / 0.5575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.8554, allocations: 238.3 kB / 0.8097 GB, free: 96 kB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.298, allocations: 0 / 0.8097 GB, free: 96 kB / 0.5575 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat