Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_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.00109/0.001091, allocations: 87.83 kB / 16.31 MB, free: 6.457 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.001072/0.001072, allocations: 182.9 kB / 17.21 MB, free: 6.328 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.574/1.574, allocations: 223.2 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.345/1.345, allocations: 120.5 MB / 412.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004078, allocations: 12 kB / 0.4957 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7325/0.733, allocations: 82.83 MB / 0.5766 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001817/0.7349, allocations: 1.147 MB / 0.5777 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.7353, allocations: 92.64 kB / 0.5778 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.7356, allocations: 4 kB / 0.5778 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.7359, allocations: 10.14 kB / 0.5778 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.7363, allocations: 57.86 kB / 0.5778 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.7367, allocations: 29.52 kB / 0.5779 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.7372, allocations: 0.5803 MB / 0.5784 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.7373, allocations: 4.281 kB / 0.5784 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.7375, allocations: 206.9 kB / 0.5786 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.7381, allocations: 314.6 kB / 0.5789 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.7382, allocations: 36.81 kB / 0.579 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.7383, allocations: 30.25 kB / 0.579 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.7385, allocations: 193.6 kB / 0.5792 GB, free: 40 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.335e-05/0.7386, allocations: 77.45 kB / 0.5793 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.7388, allocations: 229.6 kB / 0.5795 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7388, allocations: 0 / 0.5795 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.907e-06/0.7388, allocations: 0 / 0.5795 GB, free: 39.84 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.7388, allocations: 0.875 kB / 0.5795 GB, free: 39.84 MB / 462.3 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.002187/0.741, allocations: 0.836 MB / 0.5803 GB, free: 39.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.7411, allocations: 9.625 kB / 0.5803 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.661e-05/0.7412, allocations: 68.61 kB / 0.5804 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.7413, allocations: 34.09 kB / 0.5804 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.7417, allocations: 256.1 kB / 0.5806 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.7418, allocations: 27.34 kB / 0.5807 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.7419, allocations: 47.56 kB / 0.5807 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.7428, allocations: 443.8 kB / 0.5811 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7428, allocations: 4.875 kB / 0.5811 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.7429, allocations: 13.81 kB / 0.5812 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.7429, allocations: 11.33 kB / 0.5812 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.7436, allocations: 374 kB / 0.5815 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.7466, allocations: 2.178 MB / 0.5836 GB, free: 36.58 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.7475, allocations: 482.2 kB / 0.5841 GB, free: 36.35 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.7481, allocations: 329 kB / 0.5844 GB, free: 36.19 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.296e-05/0.7482, allocations: 9.922 kB / 0.5844 GB, free: 36.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.7482, allocations: 40.84 kB / 0.5845 GB, free: 36.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 3.337e-06/0.7482, allocations: 4 kB / 0.5845 GB, free: 36.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001623/0.7499, allocations: 0.8078 MB / 0.5853 GB, free: 35.76 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.7499, allocations: 56.19 kB / 0.5853 GB, free: 35.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.7501, allocations: 138.7 kB / 0.5854 GB, free: 35.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.7502, allocations: 36.08 kB / 0.5855 GB, free: 35.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.7503, allocations: 125.5 kB / 0.5856 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.7505, allocations: 204.6 kB / 0.5858 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.7506, allocations: 14.44 kB / 0.5858 GB, free: 35.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7507, allocations: 343.3 kB / 0.5861 GB, free: 34.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.7513, allocations: 274.3 kB / 0.5864 GB, free: 34.77 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.752, allocations: 332.7 kB / 0.5867 GB, free: 34.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.7527, allocations: 317.9 kB / 0.587 GB, free: 34.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7527, allocations: 0 / 0.587 GB, free: 34.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001676/0.7544, allocations: 0.7271 MB / 0.5877 GB, free: 34.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.7545, allocations: 8.922 kB / 0.5877 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.7545, allocations: 1.438 kB / 0.5877 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.86e-05/0.7546, allocations: 2.344 kB / 0.5877 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.7563, allocations: 264.1 kB / 0.588 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.7563, allocations: 4 kB / 0.588 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.7567, allocations: 55.5 kB / 0.5881 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.7568, allocations: 23.97 kB / 0.5881 GB, free: 33.98 MB / 462.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.0001872/0.7569, allocations: 165.6 kB / 0.5882 GB, free: 33.8 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.757, allocations: 19.81 kB / 0.5883 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.7573, allocations: 82.22 kB / 0.5883 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.7573, allocations: 4 kB / 0.5883 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.7573, allocations: 0 / 0.5883 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7573, allocations: 0 / 0.5883 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.7578, allocations: 477.3 kB / 0.5888 GB, free: 33.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7579, allocations: 0 / 0.5888 GB, free: 33.19 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.759, allocations: 255.8 kB / 0.589 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.7591, allocations: 4 kB / 0.589 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.7591, allocations: 19.94 kB / 0.5891 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.7591, allocations: 7.984 kB / 0.5891 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7591, allocations: 0 / 0.5891 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.7606, allocations: 1.009 MB / 0.5901 GB, free: 31.88 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.7607, allocations: 108.7 kB / 0.5902 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.7608, allocations: 19.98 kB / 0.5902 GB, free: 31.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.7611, allocations: 27.92 kB / 0.5902 GB, free: 31.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.7612, allocations: 28.41 kB / 0.5902 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.7613, allocations: 11.98 kB / 0.5902 GB, free: 31.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.7613, allocations: 101.1 kB / 0.5903 GB, free: 31.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7613, allocations: 0 / 0.5903 GB, free: 31.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004579/0.7618, allocations: 155.8 kB / 0.5905 GB, free: 31.42 MB / 462.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.00152/0.7633, allocations: 1.563 MB / 0.592 GB, free: 29.83 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009793/0.7643, allocations: 0.6387 MB / 0.5926 GB, free: 29.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7643, allocations: 3.938 kB / 0.5926 GB, free: 29.19 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.7647, allocations: 318.3 kB / 0.5929 GB, free: 28.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.7652, allocations: 72.66 kB / 0.593 GB, free: 28.81 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.7712, allocations: 4.597 MB / 0.5975 GB, free: 24.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.7715, allocations: 0.8037 MB / 0.5983 GB, free: 23.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005889/0.7721, allocations: 174.8 kB / 0.5985 GB, free: 23.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.7724, allocations: 95.41 kB / 0.5985 GB, free: 23.06 MB / 462.3 MB Notification: Performance of SimCode: time 1.382e-06/0.7724, allocations: 0 / 0.5985 GB, free: 23.06 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.7947, allocations: 8.295 MB / 0.6066 GB, free: 15.03 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003837/0.7952, allocations: 238.8 kB / 0.6069 GB, free: 14.79 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/3.066, allocations: 4 kB / 0.6069 GB, free: 14.79 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat does not exist to compare? outputFormat=mat