Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_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.001216/0.001216, allocations: 91.64 kB / 16.32 MB, free: 5.629 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.001138/0.001138, allocations: 181.8 kB / 17.2 MB, free: 5.551 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.514/1.514, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.014/1.014, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 8 kB / 0.4956 GB, free: 9.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2004, allocations: 82.85 MB / 0.5766 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001857/0.2023, allocations: 1.166 MB / 0.5777 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003474/0.2027, allocations: 91.73 kB / 0.5778 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.2027, allocations: 0 / 0.5778 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2029, allocations: 11.92 kB / 0.5778 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.203, allocations: 63.66 kB / 0.5779 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.2033, allocations: 35.94 kB / 0.5779 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.2044, allocations: 1.115 MB / 0.579 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.2045, allocations: 12.11 kB / 0.579 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.2051, allocations: 471.2 kB / 0.5794 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.2062, allocations: 0.6162 MB / 0.58 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.2065, allocations: 60 kB / 0.5801 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.2068, allocations: 68 kB / 0.5802 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005235/0.2074, allocations: 383.1 kB / 0.5805 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.2076, allocations: 133.5 kB / 0.5807 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.208, allocations: 455.1 kB / 0.5811 GB, free: 2.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.208, allocations: 3.938 kB / 0.5811 GB, free: 2.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.208, allocations: 4 kB / 0.5811 GB, free: 2.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.208, allocations: 0 / 0.5811 GB, free: 2.02 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.004048/0.2121, allocations: 1.491 MB / 0.5826 GB, free: 488 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.2122, allocations: 8.031 kB / 0.5826 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.2124, allocations: 98.5 kB / 0.5827 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2125, allocations: 67.39 kB / 0.5827 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6893/0.9018, allocations: 341.5 kB / 0.583 GB, free: 15.99 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.902, allocations: 51.59 kB / 0.5831 GB, free: 15.99 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.9023, allocations: 103.5 kB / 0.5832 GB, free: 15.99 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.9048, allocations: 0.8814 MB / 0.5841 GB, free: 15.94 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.9048, allocations: 0 / 0.5841 GB, free: 15.94 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/0.9049, allocations: 24.09 kB / 0.5841 GB, free: 15.94 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.905, allocations: 15.09 kB / 0.5841 GB, free: 15.94 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.9068, allocations: 0.7621 MB / 0.5848 GB, free: 15.93 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007909/0.9148, allocations: 4.371 MB / 0.5891 GB, free: 13.13 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.9169, allocations: 0.9687 MB / 0.5901 GB, free: 12.79 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.9184, allocations: 0.6628 MB / 0.5907 GB, free: 12.54 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.9186, allocations: 10.47 kB / 0.5907 GB, free: 12.54 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.9186, allocations: 44.5 kB / 0.5907 GB, free: 12.49 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 4.118e-06/0.9186, allocations: 0 / 0.5907 GB, free: 12.49 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.004674/0.9233, allocations: 1.648 MB / 0.5924 GB, free: 12 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.9234, allocations: 63.17 kB / 0.5924 GB, free: 11.93 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.9236, allocations: 143.6 kB / 0.5926 GB, free: 11.82 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.9237, allocations: 51.92 kB / 0.5926 GB, free: 11.77 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.9238, allocations: 152.3 kB / 0.5928 GB, free: 11.64 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.9242, allocations: 418.1 kB / 0.5932 GB, free: 11.32 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.9243, allocations: 25.53 kB / 0.5932 GB, free: 11.3 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9245, allocations: 370.7 kB / 0.5935 GB, free: 10.96 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.9257, allocations: 0.569 MB / 0.5941 GB, free: 10.81 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.9271, allocations: 0.6595 MB / 0.5947 GB, free: 10.61 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.9284, allocations: 0.6503 MB / 0.5954 GB, free: 10.38 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.9284, allocations: 1.469 kB / 0.5954 GB, free: 10.38 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003046/0.9315, allocations: 1.461 MB / 0.5968 GB, free: 9.898 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.9315, allocations: 9.375 kB / 0.5968 GB, free: 9.898 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.9316, allocations: 0.7031 kB / 0.5968 GB, free: 9.898 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/0.9316, allocations: 6.875 kB / 0.5968 GB, free: 9.898 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.9345, allocations: 0.523 MB / 0.5973 GB, free: 9.879 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.9345, allocations: 5.688 kB / 0.5973 GB, free: 9.879 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/0.9354, allocations: 126.8 kB / 0.5974 GB, free: 9.805 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.9355, allocations: 39.59 kB / 0.5975 GB, free: 9.793 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.0004333/0.9359, allocations: 216.8 kB / 0.5977 GB, free: 9.633 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.9361, allocations: 41.62 kB / 0.5977 GB, free: 9.613 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.9366, allocations: 147.7 kB / 0.5979 GB, free: 9.477 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.9366, allocations: 9.797 kB / 0.5979 GB, free: 9.477 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/0.9367, allocations: 1.062 kB / 0.5979 GB, free: 9.477 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.9367, allocations: 4.828 kB / 0.5979 GB, free: 9.477 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.9383, allocations: 0.8018 MB / 0.5987 GB, free: 9.113 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.9383, allocations: 7.938 kB / 0.5987 GB, free: 9.105 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002762/0.9411, allocations: 0.525 MB / 0.5992 GB, free: 9.082 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/0.9411, allocations: 7 kB / 0.5992 GB, free: 9.082 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.9413, allocations: 43.2 kB / 0.5992 GB, free: 9.07 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.9413, allocations: 2.531 kB / 0.5992 GB, free: 9.07 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9413, allocations: 1.906 kB / 0.5992 GB, free: 9.07 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.945, allocations: 1.971 MB / 0.6012 GB, free: 8.328 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.9452, allocations: 118.7 kB / 0.6013 GB, free: 8.207 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.9454, allocations: 40.34 kB / 0.6013 GB, free: 8.195 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.9462, allocations: 73.95 kB / 0.6014 GB, free: 8.16 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.9464, allocations: 59.61 kB / 0.6014 GB, free: 8.152 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/0.9465, allocations: 25.8 kB / 0.6015 GB, free: 8.148 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.29e-05/0.9465, allocations: 99.03 kB / 0.6016 GB, free: 8.066 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.9465, allocations: 0 / 0.6016 GB, free: 8.066 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0008733/0.9474, allocations: 307.7 kB / 0.6019 GB, free: 8.027 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.004655/0.9521, allocations: 2.565 MB / 0.6044 GB, free: 6.719 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.9549, allocations: 1.322 MB / 0.6057 GB, free: 6.297 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.955, allocations: 0 / 0.6057 GB, free: 6.297 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.9562, allocations: 0.6491 MB / 0.6063 GB, free: 6.008 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.9571, allocations: 134.7 kB / 0.6064 GB, free: 5.934 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.9721, allocations: 9.364 MB / 0.6156 GB, free: 15.75 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.9728, allocations: 0.9136 MB / 0.6165 GB, free: 14.97 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001406/0.9743, allocations: 391.9 kB / 0.6168 GB, free: 14.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.9748, allocations: 187.4 kB / 0.617 GB, free: 14.48 MB / 462.3 MB Notification: Performance of SimCode: time 1.323e-06/0.9748, allocations: 0 / 0.617 GB, free: 14.48 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/1.028, allocations: 16.04 MB / 0.6327 GB, free: 14.76 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.028, allocations: 251.5 kB / 0.6329 GB, free: 14.43 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.588, allocations: 0 / 0.6329 GB, free: 14.43 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat