Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",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.001242/0.001242, allocations: 107.7 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.001267/0.001267, 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.256/1.256, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8022/0.8022, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.4924 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4074, allocations: 80.68 MB / 0.5712 GB, free: 43.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001872/0.4093, allocations: 1.402 MB / 0.5726 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000588/0.4099, allocations: 0.508 MB / 0.5731 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.4099, allocations: 1.406 kB / 0.5731 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.671e-05/0.41, allocations: 11.92 kB / 0.5731 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.4102, allocations: 54.27 kB / 0.5731 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.464e-05/0.4103, allocations: 38.25 kB / 0.5732 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.4109, allocations: 1.02 MB / 0.5742 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.4109, allocations: 14.19 kB / 0.5742 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.4112, allocations: 364 kB / 0.5745 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.4117, allocations: 0.5199 MB / 0.575 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.4118, allocations: 58 kB / 0.5751 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.412, allocations: 81.59 kB / 0.5752 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.4123, allocations: 461.5 kB / 0.5756 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.4127, allocations: 455.4 kB / 0.576 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.4132, allocations: 0.8188 MB / 0.5768 GB, free: 40.31 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4132, allocations: 0 / 0.5768 GB, free: 40.31 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4132, allocations: 0 / 0.5768 GB, free: 40.31 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.4132, allocations: 0 / 0.5768 GB, free: 40.31 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002488/0.4157, allocations: 1.291 MB / 0.5781 GB, free: 39.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4158, allocations: 13.08 kB / 0.5781 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.4159, allocations: 131.5 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.4161, allocations: 86.88 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.4166, allocations: 478.4 kB / 0.5788 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.4166, allocations: 57.28 kB / 0.5788 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4168, allocations: 116.1 kB / 0.5789 GB, free: 38.83 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4182, allocations: 1.139 MB / 0.58 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4182, allocations: 0 / 0.58 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.4183, allocations: 39.55 kB / 0.5801 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.4183, allocations: 18.94 kB / 0.5801 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.4198, allocations: 1.257 MB / 0.5813 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.4209, allocations: 1.088 MB / 0.5824 GB, free: 36.97 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4262, allocations: 2.792 MB / 0.5851 GB, free: 35.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/0.4271, allocations: 0.8811 MB / 0.586 GB, free: 34.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.4273, allocations: 131 kB / 0.5861 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.4273, allocations: 52.56 kB / 0.5862 GB, free: 34.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 2.435e-06/0.4273, allocations: 0 / 0.5862 GB, free: 34.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003019/0.4303, allocations: 2.652 MB / 0.5887 GB, free: 31.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.4303, allocations: 77.34 kB / 0.5888 GB, free: 31.39 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4305, allocations: 233 kB / 0.589 GB, free: 31.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/0.4306, allocations: 57.7 kB / 0.5891 GB, free: 31.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.4306, allocations: 127.3 kB / 0.5892 GB, free: 30.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.4309, allocations: 0.7817 MB / 0.59 GB, free: 30.17 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/0.4313, allocations: 380.3 kB / 0.5903 GB, free: 29.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.4313, allocations: 321.9 kB / 0.5906 GB, free: 29.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4324, allocations: 0.9216 MB / 0.5915 GB, free: 28.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4334, allocations: 0.9525 MB / 0.5925 GB, free: 27.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.4355, allocations: 2.062 MB / 0.5945 GB, free: 25.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4355, allocations: 0 / 0.5945 GB, free: 25.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002601/0.4382, allocations: 2.43 MB / 0.5969 GB, free: 23.02 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4382, allocations: 7.984 kB / 0.5969 GB, free: 23.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4382, allocations: 3.938 kB / 0.5969 GB, free: 23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4382, allocations: 8 kB / 0.5969 GB, free: 23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.4399, allocations: 0.5111 MB / 0.5974 GB, free: 22.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.4399, allocations: 11.98 kB / 0.5974 GB, free: 22.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.4405, allocations: 154.2 kB / 0.5975 GB, free: 22.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4406, allocations: 75.97 kB / 0.5976 GB, free: 22.25 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 (284): * Single equations (assignments): 284 * 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 0.0002954/0.4409, allocations: 310 kB / 0.5979 GB, free: 21.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4411, allocations: 83.06 kB / 0.598 GB, free: 21.85 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/0.4442, allocations: 2.717 MB / 0.6006 GB, free: 19.08 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.4443, allocations: 24 kB / 0.6007 GB, free: 19.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4443, allocations: 0 / 0.6007 GB, free: 19.06 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.4443, allocations: 15.95 kB / 0.6007 GB, free: 19.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4454, allocations: 1.338 MB / 0.602 GB, free: 17.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4454, allocations: 8 kB / 0.602 GB, free: 17.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/0.4478, allocations: 0.5853 MB / 0.6026 GB, free: 17.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.4478, allocations: 8 kB / 0.6026 GB, free: 17.05 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.4479, allocations: 95.92 kB / 0.6027 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.4479, allocations: 8 kB / 0.6027 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4479, allocations: 3.938 kB / 0.6027 GB, free: 16.94 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.4516, allocations: 3.619 MB / 0.6062 GB, free: 13.24 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.452, allocations: 418.8 kB / 0.6066 GB, free: 12.81 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.4522, allocations: 79.95 kB / 0.6067 GB, free: 12.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.4528, allocations: 44 kB / 0.6067 GB, free: 12.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.453, allocations: 165.9 kB / 0.6069 GB, free: 12.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.4531, allocations: 75.97 kB / 0.607 GB, free: 12.45 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.213e-05/0.4532, allocations: 172.5 kB / 0.6071 GB, free: 12.29 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4532, allocations: 3.938 kB / 0.6071 GB, free: 12.29 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005702/0.4538, allocations: 448 kB / 0.6076 GB, free: 11.85 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.003884/0.4577, allocations: 4.279 MB / 0.6117 GB, free: 7.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.007074/0.4648, allocations: 5.868 MB / 0.6175 GB, free: 1.582 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4648, allocations: 0 / 0.6175 GB, free: 1.582 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.466, allocations: 1.262 MB / 0.6187 GB, free: 324 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.4666, allocations: 196.3 kB / 0.6189 GB, free: 128 kB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.4827, allocations: 14.66 MB / 0.6332 GB, free: 1.203 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.4833, allocations: 1.155 MB / 0.6343 GB, free: 16 kB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001427/0.4847, allocations: 0.7395 MB / 0.6351 GB, free: 15.27 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/0.4855, allocations: 475.3 kB / 0.6355 GB, free: 14.81 MB / 494.3 MB Notification: Performance of SimCode: time 3.51e-07/0.4855, allocations: 0 / 0.6355 GB, free: 14.81 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.352/4.838, allocations: 30.88 MB / 0.6657 GB, free: 144 kB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/18.59, allocations: 15.39 kB / 0.6657 GB, free: 132 kB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1)