Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.00123/0.00123, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001315/0.001315, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.262/1.262, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8337/0.8337, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 55.91 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4048, allocations: 80.69 MB / 0.5712 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001732/0.4066, allocations: 1.379 MB / 0.5726 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.4072, allocations: 0.5094 MB / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.4073, allocations: 0 / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.084e-05/0.4073, allocations: 11.86 kB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.4076, allocations: 51.28 kB / 0.5731 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.532e-05/0.4077, allocations: 42.09 kB / 0.5732 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.4078, allocations: 191.6 kB / 0.5733 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.4079, allocations: 8.094 kB / 0.5733 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.408, allocations: 82.09 kB / 0.5734 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.4081, allocations: 103.1 kB / 0.5735 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4082, allocations: 8.594 kB / 0.5735 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.4082, allocations: 30.41 kB / 0.5736 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.4083, allocations: 62.86 kB / 0.5736 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.4084, allocations: 70.83 kB / 0.5737 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.4085, allocations: 147.4 kB / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.4085, allocations: 0 / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4086, allocations: 0 / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.4086, allocations: 1.344 kB / 0.5738 GB, free: 41.82 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006004/0.4092, allocations: 478.2 kB / 0.5743 GB, free: 41.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.4092, allocations: 13.33 kB / 0.5743 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.4092, allocations: 51.02 kB / 0.5743 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.4093, allocations: 17.19 kB / 0.5744 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4094, allocations: 213.1 kB / 0.5746 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4095, allocations: 8.359 kB / 0.5746 GB, free: 41.08 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.4095, allocations: 21.38 kB / 0.5746 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.4097, allocations: 174.9 kB / 0.5748 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4097, allocations: 0 / 0.5748 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4098, allocations: 5.406 kB / 0.5748 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4098, allocations: 2.812 kB / 0.5748 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.41, allocations: 151.3 kB / 0.5749 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.4102, allocations: 285.1 kB / 0.5752 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.411, allocations: 355.3 kB / 0.5755 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4112, allocations: 120.9 kB / 0.5756 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4113, allocations: 91.66 kB / 0.5757 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.4113, allocations: 36 kB / 0.5758 GB, free: 40.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.212e-06/0.4114, allocations: 1.438 kB / 0.5758 GB, free: 40.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005221/0.4119, allocations: 380.3 kB / 0.5761 GB, free: 40.09 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.4119, allocations: 54.53 kB / 0.5762 GB, free: 40.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.412, allocations: 132.1 kB / 0.5763 GB, free: 39.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.412, allocations: 33.64 kB / 0.5763 GB, free: 39.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.412, allocations: 95.45 kB / 0.5764 GB, free: 39.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.4121, allocations: 112.6 kB / 0.5765 GB, free: 39.67 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.4122, allocations: 59.66 kB / 0.5766 GB, free: 39.63 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.4122, allocations: 331.5 kB / 0.5769 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4124, allocations: 124.4 kB / 0.577 GB, free: 39.25 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.4125, allocations: 127.8 kB / 0.5771 GB, free: 39.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.4128, allocations: 276.5 kB / 0.5774 GB, free: 39.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4129, allocations: 7.875 kB / 0.5774 GB, free: 39.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000417/0.4133, allocations: 351.8 kB / 0.5778 GB, free: 38.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.4133, allocations: 8.594 kB / 0.5778 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4133, allocations: 0 / 0.5778 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4133, allocations: 2.781 kB / 0.5778 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.4136, allocations: 78.67 kB / 0.5778 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4136, allocations: 1.312 kB / 0.5778 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4137, allocations: 27.66 kB / 0.5779 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.4137, allocations: 11.84 kB / 0.5779 GB, free: 38.84 MB / 462.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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/0.4138, allocations: 137.9 kB / 0.578 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.4139, allocations: 15.56 kB / 0.578 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.4144, allocations: 406.1 kB / 0.5784 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4144, allocations: 8.109 kB / 0.5784 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4144, allocations: 0 / 0.5784 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4144, allocations: 7.984 kB / 0.5784 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.4147, allocations: 318 kB / 0.5787 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4147, allocations: 0.9375 kB / 0.5787 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.4151, allocations: 79.25 kB / 0.5788 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.4151, allocations: 1.844 kB / 0.5788 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.4151, allocations: 17.52 kB / 0.5788 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4151, allocations: 1.844 kB / 0.5788 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4151, allocations: 0 / 0.5788 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.4158, allocations: 0.5311 MB / 0.5793 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.4159, allocations: 121.1 kB / 0.5795 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.4159, allocations: 11.97 kB / 0.5795 GB, free: 37.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.416, allocations: 10.83 kB / 0.5795 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.416, allocations: 21.88 kB / 0.5795 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.4161, allocations: 8.188 kB / 0.5795 GB, free: 37.72 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.4161, allocations: 103.1 kB / 0.5796 GB, free: 37.63 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4161, allocations: 3.938 kB / 0.5796 GB, free: 37.63 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002451/0.4164, allocations: 68.73 kB / 0.5797 GB, free: 37.62 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007382/0.4171, allocations: 1.078 MB / 0.5807 GB, free: 36.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.4176, allocations: 381.8 kB / 0.5811 GB, free: 36.66 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4176, allocations: 0 / 0.5811 GB, free: 36.66 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.4178, allocations: 170.6 kB / 0.5813 GB, free: 36.6 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.418, allocations: 31.36 kB / 0.5813 GB, free: 36.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.4205, allocations: 2.875 MB / 0.5841 GB, free: 34.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.4207, allocations: 0.7479 MB / 0.5848 GB, free: 33.77 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000171/0.4208, allocations: 87.39 kB / 0.5849 GB, free: 33.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.421, allocations: 73.5 kB / 0.585 GB, free: 33.68 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.421, allocations: 0 / 0.585 GB, free: 33.68 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.887/3.308, allocations: 5.402 MB / 0.5903 GB, free: 29.61 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/14.14, allocations: 14.62 kB / 0.5903 GB, free: 29.6 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1)