Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 85.62 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008663/0.0008665, allocations: 180.6 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9996/0.9996, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004159, allocations: 8 kB / 0.4957 GB, free: 9.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 82.84 MB / 0.5766 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001627/0.2029, allocations: 1.15 MB / 0.5777 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002941/0.2032, allocations: 95.67 kB / 0.5778 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.2033, allocations: 0 / 0.5778 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2034, allocations: 27.84 kB / 0.5778 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2036, allocations: 51.78 kB / 0.5779 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.2037, allocations: 31.89 kB / 0.5779 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.2044, allocations: 0.6355 MB / 0.5785 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.2044, allocations: 7.984 kB / 0.5785 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.2047, allocations: 239.6 kB / 0.5787 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.2053, allocations: 331.4 kB / 0.5791 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.2054, allocations: 28 kB / 0.5791 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.2054, allocations: 36 kB / 0.5791 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.2056, allocations: 187.6 kB / 0.5793 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.2057, allocations: 81.58 kB / 0.5794 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.206, allocations: 215.7 kB / 0.5796 GB, free: 3.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.206, allocations: 0 / 0.5796 GB, free: 3.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.206, allocations: 0 / 0.5796 GB, free: 3.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.206, allocations: 0 / 0.5796 GB, free: 3.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00206/0.2081, allocations: 0.8348 MB / 0.5804 GB, free: 2.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2081, allocations: 12.03 kB / 0.5804 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.817e-05/0.2082, allocations: 70.53 kB / 0.5805 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.2083, allocations: 35.61 kB / 0.5805 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.2087, allocations: 258.7 kB / 0.5808 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.2088, allocations: 28.56 kB / 0.5808 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.2089, allocations: 47.91 kB / 0.5808 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.2098, allocations: 440.7 kB / 0.5812 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2098, allocations: 0 / 0.5812 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.2098, allocations: 8 kB / 0.5813 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2099, allocations: 15.95 kB / 0.5813 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.2105, allocations: 377.9 kB / 0.5816 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6396/0.8501, allocations: 2.163 MB / 0.5837 GB, free: 15.87 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.8512, allocations: 481.8 kB / 0.5842 GB, free: 15.83 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.8518, allocations: 319.4 kB / 0.5845 GB, free: 15.82 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.8519, allocations: 10.08 kB / 0.5845 GB, free: 15.82 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8519, allocations: 45.3 kB / 0.5846 GB, free: 15.79 MB / 446.3 MB Notification: Performance of pre-optimization done (n=49): time 2.805e-06/0.852, allocations: 0 / 0.5846 GB, free: 15.79 MB / 446.3 MB Notification: Performance of matching and sorting (n=49): time 0.002495/0.8545, allocations: 0.7997 MB / 0.5853 GB, free: 15.73 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.8545, allocations: 57.5 kB / 0.5854 GB, free: 15.67 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.8546, allocations: 134.6 kB / 0.5855 GB, free: 15.57 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.8547, allocations: 38.61 kB / 0.5856 GB, free: 15.54 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.8548, allocations: 130.2 kB / 0.5857 GB, free: 15.45 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.855, allocations: 202.7 kB / 0.5859 GB, free: 15.33 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.8551, allocations: 12.44 kB / 0.5859 GB, free: 15.33 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8552, allocations: 343.5 kB / 0.5862 GB, free: 15.02 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.8558, allocations: 272.6 kB / 0.5865 GB, free: 15.02 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.8566, allocations: 333.8 kB / 0.5868 GB, free: 14.99 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.8573, allocations: 325.4 kB / 0.5871 GB, free: 14.9 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8573, allocations: 3.719 kB / 0.5871 GB, free: 14.9 MB / 446.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001592/0.8589, allocations: 0.7216 MB / 0.5878 GB, free: 14.66 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.859, allocations: 4.281 kB / 0.5878 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.859, allocations: 1.75 kB / 0.5878 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.859, allocations: 3.281 kB / 0.5878 GB, free: 14.66 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.8602, allocations: 256.9 kB / 0.5881 GB, free: 14.65 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.8602, allocations: 5.531 kB / 0.5881 GB, free: 14.65 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.8607, allocations: 60.11 kB / 0.5881 GB, free: 14.61 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.8607, allocations: 19.12 kB / 0.5881 GB, free: 14.61 MB / 446.3 MB 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 (77): * Single equations (assignments): 77 * 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.0002837/0.861, allocations: 161.5 kB / 0.5883 GB, free: 14.47 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.8611, allocations: 30.22 kB / 0.5883 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.8614, allocations: 77.52 kB / 0.5884 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.8614, allocations: 4.75 kB / 0.5884 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.8614, allocations: 5.094 kB / 0.5884 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.8614, allocations: 3 kB / 0.5884 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.8622, allocations: 466.1 kB / 0.5889 GB, free: 14.12 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8622, allocations: 4.703 kB / 0.5889 GB, free: 14.12 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.8636, allocations: 258.8 kB / 0.5891 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.8636, allocations: 4.391 kB / 0.5891 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.8637, allocations: 22.52 kB / 0.5891 GB, free: 14.1 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.8637, allocations: 2.172 kB / 0.5891 GB, free: 14.1 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8637, allocations: 0.7812 kB / 0.5891 GB, free: 14.1 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.8657, allocations: 1.008 MB / 0.5901 GB, free: 13.68 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.8658, allocations: 104 kB / 0.5902 GB, free: 13.57 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.8659, allocations: 21.58 kB / 0.5902 GB, free: 13.56 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.8663, allocations: 34.12 kB / 0.5903 GB, free: 13.54 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8664, allocations: 34.25 kB / 0.5903 GB, free: 13.54 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.8665, allocations: 9.859 kB / 0.5903 GB, free: 13.54 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.439e-05/0.8665, allocations: 99 kB / 0.5904 GB, free: 13.45 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8665, allocations: 0.7188 kB / 0.5904 GB, free: 13.45 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006897/0.8672, allocations: 155 kB / 0.5906 GB, free: 13.43 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.002199/0.8694, allocations: 1.562 MB / 0.5921 GB, free: 12.47 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.8713, allocations: 0.6295 MB / 0.5927 GB, free: 12.3 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.8713, allocations: 4.062 kB / 0.5927 GB, free: 12.3 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.8719, allocations: 315.4 kB / 0.593 GB, free: 12.21 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.8725, allocations: 68.66 kB / 0.5931 GB, free: 12.18 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.8795, allocations: 4.623 MB / 0.5976 GB, free: 9.648 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.8801, allocations: 0.8014 MB / 0.5984 GB, free: 8.938 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001145/0.8813, allocations: 179.6 kB / 0.5985 GB, free: 8.926 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.8816, allocations: 97.62 kB / 0.5986 GB, free: 8.859 MB / 446.3 MB Notification: Performance of SimCode: time 1.583e-06/0.8816, allocations: 0 / 0.5986 GB, free: 8.859 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.9079, allocations: 8.327 MB / 0.6068 GB, free: 5.949 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.9081, allocations: 246.7 kB / 0.607 GB, free: 5.621 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.186, allocations: 4 kB / 0.607 GB, free: 5.617 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat