Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_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.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_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.001247/0.001247, allocations: 102.5 kB / 16.62 MB, free: 6.809 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.001222/0.001222, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8755/0.8755, allocations: 119.3 MB / 410.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 0.4919 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4151, allocations: 80.68 MB / 0.5707 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00199/0.4171, allocations: 1.446 MB / 0.5721 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.4178, allocations: 0.5009 MB / 0.5726 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.4178, allocations: 5.281 kB / 0.5726 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.278e-05/0.4179, allocations: 7.922 kB / 0.5726 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.4182, allocations: 50.92 kB / 0.5726 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.95e-05/0.4183, allocations: 37.8 kB / 0.5727 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.4186, allocations: 0.5453 MB / 0.5732 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.4187, allocations: 6 kB / 0.5732 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.4189, allocations: 198.7 kB / 0.5734 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.4192, allocations: 303.7 kB / 0.5737 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.4192, allocations: 34.69 kB / 0.5737 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4194, allocations: 51.84 kB / 0.5738 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.4196, allocations: 242.5 kB / 0.574 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.4197, allocations: 230.9 kB / 0.5742 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.4201, allocations: 436.8 kB / 0.5746 GB, free: 41.23 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4201, allocations: 0 / 0.5746 GB, free: 41.23 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4201, allocations: 0 / 0.5746 GB, free: 41.23 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4201, allocations: 1.188 kB / 0.5746 GB, free: 41.23 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001444/0.4215, allocations: 0.8211 MB / 0.5754 GB, free: 40.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.4216, allocations: 13.64 kB / 0.5755 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.371e-05/0.4216, allocations: 81.83 kB / 0.5755 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.692e-05/0.4218, allocations: 47.25 kB / 0.5756 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.422, allocations: 327.2 kB / 0.5759 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4221, allocations: 29.56 kB / 0.5759 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.4222, allocations: 64.61 kB / 0.576 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.4229, allocations: 0.5825 MB / 0.5765 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.423, allocations: 0 / 0.5765 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.423, allocations: 20.12 kB / 0.5766 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.423, allocations: 9.625 kB / 0.5766 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.4238, allocations: 0.5858 MB / 0.5771 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.4245, allocations: 0.6187 MB / 0.5778 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.4274, allocations: 1.364 MB / 0.5791 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.4279, allocations: 456.5 kB / 0.5795 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.4281, allocations: 107.9 kB / 0.5796 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.4281, allocations: 43.31 kB / 0.5797 GB, free: 38.15 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.763e-06/0.4281, allocations: 0 / 0.5797 GB, free: 38.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001842/0.43, allocations: 1.347 MB / 0.581 GB, free: 37.55 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.43, allocations: 66.06 kB / 0.581 GB, free: 37.48 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4301, allocations: 180.8 kB / 0.5812 GB, free: 37.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.4302, allocations: 45.64 kB / 0.5813 GB, free: 37.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.4302, allocations: 104.6 kB / 0.5814 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4304, allocations: 402.9 kB / 0.5817 GB, free: 36.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.4307, allocations: 198.8 kB / 0.5819 GB, free: 36.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.4307, allocations: 367.2 kB / 0.5823 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.4313, allocations: 475 kB / 0.5827 GB, free: 36.17 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.4319, allocations: 493.8 kB / 0.5832 GB, free: 35.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.4332, allocations: 1.039 MB / 0.5842 GB, free: 35.47 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4332, allocations: 0 / 0.5842 GB, free: 35.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001385/0.4346, allocations: 1.244 MB / 0.5854 GB, free: 34.33 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4346, allocations: 8.781 kB / 0.5854 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4346, allocations: 4 kB / 0.5854 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4346, allocations: 7.984 kB / 0.5855 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/0.4356, allocations: 271.6 kB / 0.5857 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4356, allocations: 7.984 kB / 0.5857 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.4359, allocations: 87.06 kB / 0.5858 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.436, allocations: 35.98 kB / 0.5858 GB, free: 33.92 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 (144): * Single equations (assignments): 144 * 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.0001772/0.4361, allocations: 213.5 kB / 0.586 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.4362, allocations: 51.42 kB / 0.5861 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.438, allocations: 1.388 MB / 0.5874 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.438, allocations: 12 kB / 0.5875 GB, free: 32.24 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.438, allocations: 0 / 0.5875 GB, free: 32.24 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.438, allocations: 7.969 kB / 0.5875 GB, free: 32.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.4386, allocations: 0.7426 MB / 0.5882 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4386, allocations: 0 / 0.5882 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.4399, allocations: 307.6 kB / 0.5885 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4399, allocations: 7.984 kB / 0.5885 GB, free: 31.13 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.44, allocations: 47.97 kB / 0.5885 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.44, allocations: 8 kB / 0.5885 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.44, allocations: 0 / 0.5885 GB, free: 31.08 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.4419, allocations: 1.85 MB / 0.5904 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.4422, allocations: 248 kB / 0.5906 GB, free: 28.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.4423, allocations: 43.97 kB / 0.5906 GB, free: 28.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.4426, allocations: 20 kB / 0.5906 GB, free: 28.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4427, allocations: 85.19 kB / 0.5907 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.4428, allocations: 39.98 kB / 0.5908 GB, free: 28.76 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.713e-05/0.4428, allocations: 144.2 kB / 0.5909 GB, free: 28.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4429, allocations: 0 / 0.5909 GB, free: 28.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003918/0.4432, allocations: 228 kB / 0.5911 GB, free: 28.39 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.002143/0.4454, allocations: 2.455 MB / 0.5935 GB, free: 25.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.4479, allocations: 2.088 MB / 0.5956 GB, free: 23.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4479, allocations: 0 / 0.5956 GB, free: 23.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.4485, allocations: 0.6319 MB / 0.5962 GB, free: 23.19 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.4489, allocations: 111.9 kB / 0.5963 GB, free: 23.08 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.456, allocations: 8.012 MB / 0.6041 GB, free: 14.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.4562, allocations: 0.9268 MB / 0.605 GB, free: 14.03 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.00064/0.4569, allocations: 372.8 kB / 0.6054 GB, free: 13.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.4572, allocations: 239.3 kB / 0.6056 GB, free: 13.43 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4572, allocations: 0 / 0.6056 GB, free: 13.43 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/0.6754, allocations: 16.21 MB / 0.6214 GB, free: 13.45 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.6758, allocations: 245 kB / 0.6217 GB, free: 13.19 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.96, allocations: 0 / 0.6217 GB, free: 13.19 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1)