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.001206/0.001206, allocations: 101.3 kB / 16.5 MB, free: 6.695 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.00117/0.00117, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.175/1.175, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7203/0.7203, allocations: 119.3 MB / 410.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.09 kB / 0.4917 GB, free: 12.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3792, allocations: 80.68 MB / 0.5705 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001938/0.3812, allocations: 1.438 MB / 0.5719 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.3819, allocations: 0.521 MB / 0.5724 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.3819, allocations: 0 / 0.5724 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.147e-05/0.382, allocations: 3.984 kB / 0.5724 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.3822, allocations: 58.86 kB / 0.5725 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.333e-05/0.3823, allocations: 29.59 kB / 0.5725 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3825, allocations: 239.7 kB / 0.5727 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.3825, allocations: 7.672 kB / 0.5727 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.3826, allocations: 72.2 kB / 0.5728 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3828, allocations: 104 kB / 0.5729 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3828, allocations: 8.438 kB / 0.5729 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.3829, allocations: 34.48 kB / 0.5729 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.383, allocations: 66.52 kB / 0.573 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.3831, allocations: 74.62 kB / 0.5731 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3832, allocations: 138.7 kB / 0.5732 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3832, allocations: 0 / 0.5732 GB, free: 41.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3832, allocations: 0 / 0.5732 GB, free: 41.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.3833, allocations: 3.938 kB / 0.5732 GB, free: 41.41 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.0006279/0.3839, allocations: 474.7 kB / 0.5737 GB, free: 40.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3839, allocations: 10.5 kB / 0.5737 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.384, allocations: 46.7 kB / 0.5737 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.384, allocations: 17.03 kB / 0.5737 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3842, allocations: 211.9 kB / 0.5739 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3842, allocations: 25.84 kB / 0.5739 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.3842, allocations: 16.47 kB / 0.574 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3845, allocations: 173.7 kB / 0.5741 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3845, allocations: 0 / 0.5741 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3845, allocations: 6.219 kB / 0.5741 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3845, allocations: 3.094 kB / 0.5741 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3848, allocations: 143.2 kB / 0.5743 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.385, allocations: 285.2 kB / 0.5745 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.3859, allocations: 358.6 kB / 0.5749 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.386, allocations: 123.8 kB / 0.575 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3862, allocations: 88.06 kB / 0.5751 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.3862, allocations: 39.94 kB / 0.5751 GB, free: 39.85 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.3862, allocations: 0 / 0.5751 GB, free: 39.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005696/0.3868, allocations: 377 kB / 0.5755 GB, free: 39.68 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.3868, allocations: 54.28 kB / 0.5755 GB, free: 39.61 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.3869, allocations: 138.5 kB / 0.5757 GB, free: 39.49 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3869, allocations: 31.08 kB / 0.5757 GB, free: 39.46 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.387, allocations: 91.77 kB / 0.5758 GB, free: 39.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.387, allocations: 108.3 kB / 0.5759 GB, free: 39.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.3871, allocations: 66.92 kB / 0.576 GB, free: 39.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.3872, allocations: 332.5 kB / 0.5763 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3873, allocations: 120 kB / 0.5764 GB, free: 38.84 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3875, allocations: 127.2 kB / 0.5765 GB, free: 38.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.3879, allocations: 284.3 kB / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3879, allocations: 0 / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004508/0.3883, allocations: 352.4 kB / 0.5771 GB, free: 38.48 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3883, allocations: 5.25 kB / 0.5771 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3883, allocations: 0 / 0.5771 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3884, allocations: 9.25 kB / 0.5771 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.3887, allocations: 78.94 kB / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3887, allocations: 1.438 kB / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3888, allocations: 27.78 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3888, allocations: 16.58 kB / 0.5773 GB, free: 38.43 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.867e-05/0.3889, allocations: 136.2 kB / 0.5774 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3889, allocations: 15.5 kB / 0.5774 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.3895, allocations: 405.9 kB / 0.5778 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3895, allocations: 5.375 kB / 0.5778 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3895, allocations: 0 / 0.5778 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3895, allocations: 0 / 0.5778 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3898, allocations: 317.8 kB / 0.5781 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3898, allocations: 0 / 0.5781 GB, free: 37.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.3902, allocations: 87.27 kB / 0.5782 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3902, allocations: 2.75 kB / 0.5782 GB, free: 37.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3902, allocations: 13.5 kB / 0.5782 GB, free: 37.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3902, allocations: 1.375 kB / 0.5782 GB, free: 37.74 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3902, allocations: 3.984 kB / 0.5782 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.3909, allocations: 0.5187 MB / 0.5787 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.391, allocations: 128.2 kB / 0.5788 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.391, allocations: 9.688 kB / 0.5788 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3911, allocations: 9.094 kB / 0.5788 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3912, allocations: 27.33 kB / 0.5789 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3912, allocations: 11.39 kB / 0.5789 GB, free: 37.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.3912, allocations: 104.2 kB / 0.579 GB, free: 37.22 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3912, allocations: 0 / 0.579 GB, free: 37.22 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002706/0.3915, allocations: 72.22 kB / 0.579 GB, free: 37.2 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.0008612/0.3924, allocations: 1.087 MB / 0.5801 GB, free: 36.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.3928, allocations: 297.6 kB / 0.5804 GB, free: 36.26 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3929, allocations: 0.9375 kB / 0.5804 GB, free: 36.26 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.393, allocations: 170.1 kB / 0.5806 GB, free: 36.2 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3933, allocations: 32.3 kB / 0.5806 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.396, allocations: 2.925 MB / 0.5834 GB, free: 34.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3961, allocations: 0.7449 MB / 0.5842 GB, free: 33.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.3963, allocations: 86.86 kB / 0.5843 GB, free: 33.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3964, allocations: 70.34 kB / 0.5843 GB, free: 33.23 MB / 462.3 MB Notification: Performance of SimCode: time 8.91e-07/0.3964, allocations: 112 / 0.5843 GB, free: 33.23 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/0.605, allocations: 5.157 MB / 0.5894 GB, free: 30.07 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.6052, allocations: 244.5 kB / 0.5896 GB, free: 29.81 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.517, allocations: 0 / 0.5896 GB, free: 29.81 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)