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: 115.4 kB / 16.63 MB, free: 6.812 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.001237/0.001237, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.188/1.188, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7574/0.7574, allocations: 119.3 MB / 410.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.91 kB / 0.4919 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3873, allocations: 80.68 MB / 0.5707 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002022/0.3894, allocations: 1.447 MB / 0.5721 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.3901, allocations: 0.5124 MB / 0.5726 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.3901, allocations: 0 / 0.5726 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.269e-05/0.3902, allocations: 1.188 kB / 0.5726 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.3905, allocations: 54.53 kB / 0.5726 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.264e-05/0.3906, allocations: 34.86 kB / 0.5727 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3907, allocations: 196.4 kB / 0.5729 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.3908, allocations: 7.547 kB / 0.5729 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3909, allocations: 72.08 kB / 0.5729 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3911, allocations: 104.5 kB / 0.573 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3911, allocations: 7.812 kB / 0.573 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.3912, allocations: 27.64 kB / 0.5731 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.3913, allocations: 69.62 kB / 0.5731 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.3913, allocations: 75.42 kB / 0.5732 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3915, allocations: 139.4 kB / 0.5733 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3915, allocations: 0 / 0.5733 GB, free: 41.91 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3915, allocations: 0.9688 kB / 0.5733 GB, free: 41.91 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3915, allocations: 0 / 0.5733 GB, free: 41.91 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.0006617/0.3922, allocations: 474.9 kB / 0.5738 GB, free: 41.47 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3922, allocations: 13.08 kB / 0.5738 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.3923, allocations: 54.73 kB / 0.5739 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3923, allocations: 17.25 kB / 0.5739 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3925, allocations: 212.6 kB / 0.5741 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3925, allocations: 13.14 kB / 0.5741 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.3925, allocations: 16.03 kB / 0.5741 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.3928, allocations: 176.4 kB / 0.5743 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3928, allocations: 0 / 0.5743 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3928, allocations: 4.969 kB / 0.5743 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3928, allocations: 7.734 kB / 0.5743 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.3931, allocations: 147.9 kB / 0.5744 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.3933, allocations: 284.6 kB / 0.5747 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/0.3942, allocations: 353.8 kB / 0.575 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3944, allocations: 124.3 kB / 0.5752 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.3945, allocations: 87.94 kB / 0.5752 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3945, allocations: 39.97 kB / 0.5753 GB, free: 40.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.3946, allocations: 0 / 0.5753 GB, free: 40.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005722/0.3951, allocations: 377.4 kB / 0.5756 GB, free: 40.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.3952, allocations: 58.2 kB / 0.5757 GB, free: 40.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.3952, allocations: 135.3 kB / 0.5758 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3953, allocations: 29.7 kB / 0.5759 GB, free: 39.94 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.3953, allocations: 92.55 kB / 0.5759 GB, free: 39.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.3954, allocations: 111 kB / 0.576 GB, free: 39.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.3954, allocations: 63.75 kB / 0.5761 GB, free: 39.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.3955, allocations: 336.7 kB / 0.5764 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3957, allocations: 115.5 kB / 0.5765 GB, free: 39.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3958, allocations: 127.8 kB / 0.5767 GB, free: 39.28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.3962, allocations: 280.5 kB / 0.5769 GB, free: 39.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3962, allocations: 4 kB / 0.5769 GB, free: 39.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004473/0.3966, allocations: 354.9 kB / 0.5773 GB, free: 38.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3967, allocations: 5.062 kB / 0.5773 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3967, allocations: 4.938 kB / 0.5773 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3967, allocations: 5.188 kB / 0.5773 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.397, allocations: 75.06 kB / 0.5774 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.397, allocations: 1.812 kB / 0.5774 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3971, allocations: 23.38 kB / 0.5774 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3971, allocations: 16.3 kB / 0.5774 GB, free: 38.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 (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 8.539e-05/0.3972, allocations: 136.8 kB / 0.5775 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3973, allocations: 15.19 kB / 0.5775 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.3978, allocations: 402.6 kB / 0.5779 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3978, allocations: 4.125 kB / 0.5779 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3978, allocations: 0 / 0.5779 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3979, allocations: 5.312 kB / 0.5779 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3981, allocations: 317 kB / 0.5782 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3981, allocations: 0 / 0.5782 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3985, allocations: 92.17 kB / 0.5783 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3985, allocations: 0.9062 kB / 0.5783 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3986, allocations: 13.52 kB / 0.5783 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3986, allocations: 1.844 kB / 0.5783 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3986, allocations: 0.9375 kB / 0.5783 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.3993, allocations: 0.524 MB / 0.5789 GB, free: 37.95 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.3994, allocations: 122.4 kB / 0.579 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3994, allocations: 10.5 kB / 0.579 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3995, allocations: 8 kB / 0.579 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.3996, allocations: 23.06 kB / 0.579 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3996, allocations: 16.45 kB / 0.579 GB, free: 37.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.3996, allocations: 103.2 kB / 0.5791 GB, free: 37.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.3997, allocations: 0 / 0.5791 GB, free: 37.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002789/0.3999, allocations: 68.69 kB / 0.5792 GB, free: 37.7 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.0008358/0.4008, allocations: 1.091 MB / 0.5803 GB, free: 36.87 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.4013, allocations: 376.6 kB / 0.5806 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4013, allocations: 1.25 kB / 0.5806 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.4015, allocations: 169.3 kB / 0.5808 GB, free: 36.68 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.4018, allocations: 40.52 kB / 0.5808 GB, free: 36.65 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.4045, allocations: 2.92 MB / 0.5837 GB, free: 34.52 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.4047, allocations: 0.7475 MB / 0.5844 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.4049, allocations: 94.98 kB / 0.5845 GB, free: 33.75 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.405, allocations: 70.5 kB / 0.5846 GB, free: 33.7 MB / 462.3 MB Notification: Performance of SimCode: time 4.01e-07/0.405, allocations: 0 / 0.5846 GB, free: 33.7 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.517/0.9219, allocations: 5.33 MB / 0.5898 GB, free: 29.8 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.9222, allocations: 241.4 kB / 0.59 GB, free: 29.55 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.764, allocations: 0 / 0.59 GB, free: 29.55 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)