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.001144/0.001144, allocations: 93.12 kB / 16.3 MB, free: 5.996 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.001113/0.001113, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.546/1.546, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9017/0.9017, allocations: 120.4 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 8 kB / 0.4956 GB, free: 9.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 82.85 MB / 0.5765 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002026/0.2073, allocations: 1.114 MB / 0.5776 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.2081, allocations: 99.7 kB / 0.5776 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.2082, allocations: 0 / 0.5776 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2084, allocations: 11.97 kB / 0.5777 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.2084, allocations: 39.86 kB / 0.5777 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2086, allocations: 23.91 kB / 0.5777 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.209, allocations: 391.3 kB / 0.5781 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.2091, allocations: 7.984 kB / 0.5781 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2093, allocations: 227.6 kB / 0.5783 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.2097, allocations: 251.5 kB / 0.5786 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.2098, allocations: 28 kB / 0.5786 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.2098, allocations: 28 kB / 0.5786 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.21, allocations: 171.6 kB / 0.5788 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.2101, allocations: 77.58 kB / 0.5788 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2103, allocations: 219.7 kB / 0.5791 GB, free: 4.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2103, allocations: 0 / 0.5791 GB, free: 4.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2103, allocations: 0 / 0.5791 GB, free: 4.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2103, allocations: 3.938 kB / 0.5791 GB, free: 4.035 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.002232/0.2125, allocations: 0.8349 MB / 0.5799 GB, free: 3.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2126, allocations: 8.031 kB / 0.5799 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.303e-05/0.2127, allocations: 70.53 kB / 0.58 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.2128, allocations: 31.67 kB / 0.58 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.2132, allocations: 258.7 kB / 0.5802 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.2133, allocations: 24.56 kB / 0.5803 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.2134, allocations: 51.91 kB / 0.5803 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.2141, allocations: 440.5 kB / 0.5807 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2141, allocations: 0 / 0.5807 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.2142, allocations: 12 kB / 0.5807 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2142, allocations: 7.953 kB / 0.5807 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.2148, allocations: 378 kB / 0.5811 GB, free: 1.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6472/0.862, allocations: 2.17 MB / 0.5832 GB, free: 16.06 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.8632, allocations: 486 kB / 0.5837 GB, free: 16.03 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-05/0.8633, allocations: 5.031 kB / 0.5837 GB, free: 16.03 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.8634, allocations: 39.53 kB / 0.5837 GB, free: 15.99 MB / 446.3 MB Notification: Performance of pre-optimization done (n=49): time 3.557e-06/0.8634, allocations: 0 / 0.5837 GB, free: 15.99 MB / 446.3 MB Notification: Performance of matching and sorting (n=49): time 0.001905/0.8653, allocations: 0.8033 MB / 0.5845 GB, free: 15.95 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.8653, allocations: 56.5 kB / 0.5846 GB, free: 15.88 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8655, allocations: 137.9 kB / 0.5847 GB, free: 15.79 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.8655, allocations: 38.48 kB / 0.5847 GB, free: 15.75 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.8656, allocations: 128.8 kB / 0.5849 GB, free: 15.66 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.8658, allocations: 203.2 kB / 0.585 GB, free: 15.55 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.8658, allocations: 11.72 kB / 0.5851 GB, free: 15.55 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.8659, allocations: 338.9 kB / 0.5854 GB, free: 15.23 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.8665, allocations: 276 kB / 0.5856 GB, free: 15.23 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.8671, allocations: 328.4 kB / 0.586 GB, free: 15.21 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.868, allocations: 320.2 kB / 0.5863 GB, free: 15.21 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.868, allocations: 0 / 0.5863 GB, free: 15.21 MB / 446.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002157/0.8701, allocations: 0.7209 MB / 0.587 GB, free: 14.98 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.8703, allocations: 5.156 kB / 0.587 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.8703, allocations: 5.109 kB / 0.587 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.249e-05/0.8704, allocations: 3.469 kB / 0.587 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.8719, allocations: 260.8 kB / 0.5872 GB, free: 14.97 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.8719, allocations: 4.562 kB / 0.5872 GB, free: 14.97 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.8724, allocations: 59.38 kB / 0.5873 GB, free: 14.94 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.8725, allocations: 20.11 kB / 0.5873 GB, free: 14.93 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.000225/0.8727, allocations: 167.1 kB / 0.5875 GB, free: 14.8 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.8728, allocations: 19.28 kB / 0.5875 GB, free: 14.8 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.873, allocations: 77.42 kB / 0.5876 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.873, allocations: 9.453 kB / 0.5876 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.873, allocations: 1.312 kB / 0.5876 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.8731, allocations: 2.531 kB / 0.5876 GB, free: 14.73 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.8738, allocations: 463.8 kB / 0.588 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8738, allocations: 0 / 0.588 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.8753, allocations: 255.7 kB / 0.5883 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.8753, allocations: 5.906 kB / 0.5883 GB, free: 14.45 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/0.8754, allocations: 22.47 kB / 0.5883 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.8754, allocations: 8.641 kB / 0.5883 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8754, allocations: 1.594 kB / 0.5883 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.8774, allocations: 1.009 MB / 0.5893 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.8775, allocations: 104.6 kB / 0.5894 GB, free: 13.9 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.8776, allocations: 19 kB / 0.5894 GB, free: 13.9 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.878, allocations: 31.19 kB / 0.5894 GB, free: 13.89 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.8781, allocations: 33.27 kB / 0.5895 GB, free: 13.88 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.8782, allocations: 18.52 kB / 0.5895 GB, free: 13.88 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.8782, allocations: 95.84 kB / 0.5896 GB, free: 13.8 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8782, allocations: 0 / 0.5896 GB, free: 13.8 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0007126/0.879, allocations: 154.9 kB / 0.5897 GB, free: 13.77 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.002417/0.8814, allocations: 1.562 MB / 0.5912 GB, free: 12.81 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.8829, allocations: 0.6297 MB / 0.5919 GB, free: 12.64 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8829, allocations: 0 / 0.5919 GB, free: 12.64 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.8835, allocations: 319 kB / 0.5922 GB, free: 12.55 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.884, allocations: 67.16 kB / 0.5922 GB, free: 12.52 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.8916, allocations: 4.773 MB / 0.5969 GB, free: 9.84 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.892, allocations: 0.8055 MB / 0.5977 GB, free: 9.137 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0007088/0.8927, allocations: 176 kB / 0.5978 GB, free: 9.129 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.893, allocations: 100.2 kB / 0.5979 GB, free: 9.059 MB / 446.3 MB Notification: Performance of SimCode: time 2.575e-06/0.893, allocations: 0 / 0.5979 GB, free: 9.059 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.9213, allocations: 8.296 MB / 0.606 GB, free: 6.305 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.9216, allocations: 240.5 kB / 0.6063 GB, free: 6.07 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.117, allocations: 2.5 kB / 0.6063 GB, free: 6.07 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