Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_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.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_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.001321/0.001321, allocations: 95.03 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.001496/0.001496, allocations: 180.4 kB / 17.2 MB, free: 5.91 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.471/1.471, allocations: 223.2 MB / 241.1 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9701/0.9701, allocations: 120.4 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 12 kB / 0.4955 GB, free: 9.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1854, allocations: 82.86 MB / 0.5765 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00131/0.1868, allocations: 1.061 MB / 0.5775 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000761/0.1876, allocations: 487.7 kB / 0.578 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.1876, allocations: 4 kB / 0.578 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.004e-05/0.1877, allocations: 3.984 kB / 0.578 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.188, allocations: 47.86 kB / 0.578 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.571e-05/0.1881, allocations: 35.89 kB / 0.5781 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1883, allocations: 199.6 kB / 0.5782 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.1884, allocations: 8.172 kB / 0.5783 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1885, allocations: 107.8 kB / 0.5784 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1887, allocations: 155.7 kB / 0.5785 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1888, allocations: 16 kB / 0.5785 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.1889, allocations: 35.97 kB / 0.5786 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.189, allocations: 107.8 kB / 0.5787 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.1891, allocations: 65.58 kB / 0.5787 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1893, allocations: 155.9 kB / 0.5789 GB, free: 4.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1893, allocations: 4 kB / 0.5789 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1893, allocations: 0 / 0.5789 GB, free: 4.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1893, allocations: 0 / 0.5789 GB, free: 4.219 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00103/0.1904, allocations: 0.5714 MB / 0.5794 GB, free: 3.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1904, allocations: 8.031 kB / 0.5794 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.1905, allocations: 62.55 kB / 0.5795 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.1906, allocations: 31.61 kB / 0.5795 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.1909, allocations: 243.2 kB / 0.5798 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1909, allocations: 16.44 kB / 0.5798 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.191, allocations: 27.91 kB / 0.5798 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.1915, allocations: 323 kB / 0.5801 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1915, allocations: 0 / 0.5801 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1915, allocations: 8 kB / 0.5801 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1915, allocations: 11.95 kB / 0.5801 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1919, allocations: 285.5 kB / 0.5804 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.1924, allocations: 387.4 kB / 0.5808 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.1941, allocations: 0.6841 MB / 0.5814 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.1943, allocations: 98.27 kB / 0.5815 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1944, allocations: 39 kB / 0.5816 GB, free: 1.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.1944, allocations: 3.938 kB / 0.5816 GB, free: 1.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.001079/0.1955, allocations: 0.6994 MB / 0.5823 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1955, allocations: 59.84 kB / 0.5823 GB, free: 496 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1956, allocations: 143 kB / 0.5824 GB, free: 336 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1957, allocations: 37.7 kB / 0.5825 GB, free: 292 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.1957, allocations: 93.14 kB / 0.5826 GB, free: 196 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.5349/0.7306, allocations: 203.7 kB / 0.5828 GB, free: 16.77 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.7308, allocations: 12.19 kB / 0.5828 GB, free: 16.77 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7309, allocations: 342.2 kB / 0.5831 GB, free: 16.46 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.7316, allocations: 238.2 kB / 0.5833 GB, free: 16.46 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.7323, allocations: 242.7 kB / 0.5836 GB, free: 16.45 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.733, allocations: 285.1 kB / 0.5838 GB, free: 16.45 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.733, allocations: 0 / 0.5838 GB, free: 16.45 MB / 446.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001506/0.7345, allocations: 0.6416 MB / 0.5845 GB, free: 16.4 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.7346, allocations: 5.703 kB / 0.5845 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7346, allocations: 0 / 0.5845 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.7346, allocations: 3.359 kB / 0.5845 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.7355, allocations: 144.8 kB / 0.5846 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.7355, allocations: 2.219 kB / 0.5846 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.7358, allocations: 38.55 kB / 0.5846 GB, free: 16.4 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.7359, allocations: 26.41 kB / 0.5847 GB, free: 16.4 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (74): * Single equations (assignments): 74 * 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.0002127/0.7361, allocations: 160.9 kB / 0.5848 GB, free: 16.29 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.7362, allocations: 26.88 kB / 0.5849 GB, free: 16.29 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.738, allocations: 0.7283 MB / 0.5856 GB, free: 16.22 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.738, allocations: 7.531 kB / 0.5856 GB, free: 16.22 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.738, allocations: 0 / 0.5856 GB, free: 16.22 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.738, allocations: 4.953 kB / 0.5856 GB, free: 16.22 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.7387, allocations: 460.4 kB / 0.586 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7388, allocations: 4.734 kB / 0.586 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.7399, allocations: 158.5 kB / 0.5862 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/0.7399, allocations: 3.188 kB / 0.5862 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/0.74, allocations: 23.84 kB / 0.5862 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.74, allocations: 3.203 kB / 0.5862 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.74, allocations: 0.8438 kB / 0.5862 GB, free: 16 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.7421, allocations: 0.9726 MB / 0.5871 GB, free: 15.72 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.7424, allocations: 167.5 kB / 0.5873 GB, free: 15.6 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.7425, allocations: 23.41 kB / 0.5873 GB, free: 15.59 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.7428, allocations: 11.64 kB / 0.5873 GB, free: 15.58 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7429, allocations: 42.3 kB / 0.5874 GB, free: 15.57 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.743, allocations: 21 kB / 0.5874 GB, free: 15.57 MB / 446.3 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.7431, allocations: 112.7 kB / 0.5875 GB, free: 15.48 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7431, allocations: 4.719 kB / 0.5875 GB, free: 15.48 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006116/0.7437, allocations: 123.2 kB / 0.5876 GB, free: 15.46 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.002606/0.7463, allocations: 1.529 MB / 0.5891 GB, free: 14.56 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.7478, allocations: 0.5754 MB / 0.5897 GB, free: 14.41 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7478, allocations: 2.219 kB / 0.5897 GB, free: 14.41 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007472/0.7486, allocations: 333.8 kB / 0.59 GB, free: 14.33 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7499, allocations: 45.05 kB / 0.59 GB, free: 14.31 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.7562, allocations: 3.343 MB / 0.5933 GB, free: 12.64 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.7566, allocations: 0.8182 MB / 0.5941 GB, free: 11.94 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0004838/0.7571, allocations: 172.3 kB / 0.5943 GB, free: 11.92 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.7573, allocations: 118.7 kB / 0.5944 GB, free: 11.86 MB / 446.3 MB Notification: Performance of SimCode: time 1.453e-06/0.7574, allocations: 0 / 0.5944 GB, free: 11.86 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.7819, allocations: 8.241 MB / 0.6024 GB, free: 9.473 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/0.7823, allocations: 220.5 kB / 0.6026 GB, free: 9.234 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.788, allocations: 0 / 0.6026 GB, free: 9.234 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat