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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 88.39 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.0009992/0.0009994, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.543/1.543, allocations: 223.2 MB / 241.2 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.062/1.062, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 8 kB / 0.4957 GB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 82.85 MB / 0.5766 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001708/0.2194, allocations: 1.162 MB / 0.5777 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.2197, allocations: 99.67 kB / 0.5778 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.2198, allocations: 0 / 0.5778 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.22, allocations: 7.922 kB / 0.5778 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2202, allocations: 59.77 kB / 0.5779 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.2207, allocations: 27.95 kB / 0.5779 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.2217, allocations: 1.022 MB / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/0.2217, allocations: 8.125 kB / 0.5789 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.2222, allocations: 391.5 kB / 0.5793 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000888/0.2231, allocations: 0.5928 MB / 0.5798 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.2233, allocations: 60 kB / 0.5799 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.2235, allocations: 64 kB / 0.58 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.2239, allocations: 387.1 kB / 0.5803 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.2245, allocations: 133.5 kB / 0.5805 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.2249, allocations: 455.2 kB / 0.5809 GB, free: 2.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2249, allocations: 4 kB / 0.5809 GB, free: 2.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2249, allocations: 3.938 kB / 0.5809 GB, free: 2.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.225, allocations: 0 / 0.5809 GB, free: 2.203 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004249/0.2292, allocations: 1.495 MB / 0.5824 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2293, allocations: 8.031 kB / 0.5824 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/0.2295, allocations: 94.52 kB / 0.5825 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2297, allocations: 67.39 kB / 0.5825 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.2304, allocations: 346.3 kB / 0.5828 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.2304, allocations: 57.31 kB / 0.5829 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.6019/0.8323, allocations: 92.61 kB / 0.583 GB, free: 16.11 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.8347, allocations: 0.8788 MB / 0.5839 GB, free: 16.07 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.8347, allocations: 3.828 kB / 0.5839 GB, free: 16.07 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.8348, allocations: 24.91 kB / 0.5839 GB, free: 16.07 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.8349, allocations: 19.45 kB / 0.5839 GB, free: 16.07 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.8366, allocations: 0.7686 MB / 0.5846 GB, free: 16.06 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006406/0.8431, allocations: 4.36 MB / 0.5889 GB, free: 13.31 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.845, allocations: 0.9833 MB / 0.5899 GB, free: 12.95 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009827/0.846, allocations: 0.6753 MB / 0.5905 GB, free: 12.7 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.8461, allocations: 10.84 kB / 0.5905 GB, free: 12.7 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.8461, allocations: 43.84 kB / 0.5906 GB, free: 12.66 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 3.116e-06/0.8461, allocations: 1.469 kB / 0.5906 GB, free: 12.66 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003381/0.8495, allocations: 1.658 MB / 0.5922 GB, free: 12.16 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.8496, allocations: 63.59 kB / 0.5923 GB, free: 12.09 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8497, allocations: 145.5 kB / 0.5924 GB, free: 11.98 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/0.8498, allocations: 51.33 kB / 0.5924 GB, free: 11.93 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.8499, allocations: 157.2 kB / 0.5926 GB, free: 11.79 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.8501, allocations: 413.5 kB / 0.593 GB, free: 11.48 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.8502, allocations: 25.44 kB / 0.593 GB, free: 11.46 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.8503, allocations: 367.9 kB / 0.5934 GB, free: 11.12 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.8515, allocations: 0.5671 MB / 0.5939 GB, free: 10.96 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.8526, allocations: 0.6633 MB / 0.5946 GB, free: 10.76 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.8537, allocations: 0.6559 MB / 0.5952 GB, free: 10.54 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8538, allocations: 0 / 0.5952 GB, free: 10.54 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002449/0.8562, allocations: 1.471 MB / 0.5966 GB, free: 10.05 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8562, allocations: 5.328 kB / 0.5966 GB, free: 10.05 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.8563, allocations: 1.469 kB / 0.5967 GB, free: 10.05 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.8563, allocations: 5.062 kB / 0.5967 GB, free: 10.05 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.8587, allocations: 0.5313 MB / 0.5972 GB, free: 10.02 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.8588, allocations: 5.406 kB / 0.5972 GB, free: 10.02 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.8596, allocations: 123 kB / 0.5973 GB, free: 9.953 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.8597, allocations: 34.28 kB / 0.5973 GB, free: 9.945 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 (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.0003715/0.86, allocations: 215.9 kB / 0.5975 GB, free: 9.785 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.8602, allocations: 50.16 kB / 0.5976 GB, free: 9.758 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.8607, allocations: 151.7 kB / 0.5977 GB, free: 9.613 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.8607, allocations: 9.688 kB / 0.5977 GB, free: 9.613 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/0.8608, allocations: 0 / 0.5977 GB, free: 9.613 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.8608, allocations: 6.172 kB / 0.5977 GB, free: 9.613 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.8622, allocations: 0.7977 MB / 0.5985 GB, free: 9.254 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8622, allocations: 0.8438 kB / 0.5985 GB, free: 9.254 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/0.8649, allocations: 0.5291 MB / 0.599 GB, free: 9.227 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/0.8649, allocations: 4.578 kB / 0.599 GB, free: 9.227 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005088/0.8654, allocations: 47.16 kB / 0.5991 GB, free: 9.211 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.8655, allocations: 5.391 kB / 0.5991 GB, free: 9.211 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8655, allocations: 1.25 kB / 0.5991 GB, free: 9.211 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.8692, allocations: 1.963 MB / 0.601 GB, free: 8.48 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.8696, allocations: 122.7 kB / 0.6011 GB, free: 8.355 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.8698, allocations: 47.2 kB / 0.6012 GB, free: 8.336 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/0.8705, allocations: 71.11 kB / 0.6012 GB, free: 8.305 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.8707, allocations: 53.58 kB / 0.6013 GB, free: 8.301 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.8708, allocations: 30.53 kB / 0.6013 GB, free: 8.293 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.8708, allocations: 101.4 kB / 0.6014 GB, free: 8.211 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8708, allocations: 0 / 0.6014 GB, free: 8.211 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0008069/0.8716, allocations: 308.9 kB / 0.6017 GB, free: 8.172 MB / 446.3 MB 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.003639/0.8753, allocations: 2.564 MB / 0.6042 GB, free: 6.863 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.8782, allocations: 1.336 MB / 0.6055 GB, free: 6.473 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8782, allocations: 0 / 0.6055 GB, free: 6.473 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.8793, allocations: 0.657 MB / 0.6062 GB, free: 6.176 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.88, allocations: 129.9 kB / 0.6063 GB, free: 6.105 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.8927, allocations: 9.301 MB / 0.6154 GB, free: 15.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.8933, allocations: 0.916 MB / 0.6163 GB, free: 15.18 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001293/0.8946, allocations: 395.2 kB / 0.6166 GB, free: 15.01 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.8952, allocations: 187.4 kB / 0.6168 GB, free: 14.83 MB / 462.3 MB Notification: Performance of SimCode: time 1.152e-06/0.8952, allocations: 3.938 kB / 0.6168 GB, free: 14.83 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.9289, allocations: 16.03 MB / 0.6325 GB, free: 15.11 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.9291, allocations: 244.6 kB / 0.6327 GB, free: 14.88 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.355, allocations: 0 / 0.6327 GB, free: 14.88 MB / 478.3 MB (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) Environment - environmentSimulation: 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