Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",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.001211/0.001211, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001305/0.001305, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.258/1.258, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7921/0.7921, allocations: 119.3 MB / 410.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 0.4917 GB, free: 12.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3999, allocations: 80.68 MB / 0.5705 GB, free: 43.62 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001936/0.4019, allocations: 1.446 MB / 0.5719 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.4026, allocations: 0.5161 MB / 0.5724 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.4026, allocations: 1.094 kB / 0.5724 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.123e-05/0.4027, allocations: 11.92 kB / 0.5724 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.4029, allocations: 47.02 kB / 0.5724 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.46e-05/0.403, allocations: 32.69 kB / 0.5725 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.4033, allocations: 360.6 kB / 0.5728 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.4033, allocations: 5.438 kB / 0.5728 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.4034, allocations: 119.3 kB / 0.5729 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.4036, allocations: 176.6 kB / 0.5731 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.4037, allocations: 15.06 kB / 0.5731 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4038, allocations: 38.62 kB / 0.5732 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4039, allocations: 117.2 kB / 0.5733 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4041, allocations: 126.3 kB / 0.5734 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.4043, allocations: 241.5 kB / 0.5736 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4043, allocations: 0 / 0.5736 GB, free: 41.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.42e-07/0.4043, allocations: 1.594 kB / 0.5736 GB, free: 41.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4043, allocations: 0 / 0.5736 GB, free: 41.38 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009169/0.4052, allocations: 0.5761 MB / 0.5742 GB, free: 40.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4052, allocations: 8.562 kB / 0.5742 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.4053, allocations: 68.34 kB / 0.5743 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.4054, allocations: 28.81 kB / 0.5743 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.4056, allocations: 245.8 kB / 0.5745 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4056, allocations: 20.69 kB / 0.5745 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.4057, allocations: 27.94 kB / 0.5746 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.4061, allocations: 317.8 kB / 0.5749 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4061, allocations: 0 / 0.5749 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.4062, allocations: 9.5 kB / 0.5749 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4062, allocations: 5.844 kB / 0.5749 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.4066, allocations: 294.9 kB / 0.5752 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.407, allocations: 396.6 kB / 0.5755 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4086, allocations: 0.6906 MB / 0.5762 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.4089, allocations: 230.2 kB / 0.5764 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.409, allocations: 95.39 kB / 0.5765 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.4091, allocations: 37.25 kB / 0.5766 GB, free: 39.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.552e-06/0.4091, allocations: 0 / 0.5766 GB, free: 39.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009946/0.4101, allocations: 0.6919 MB / 0.5772 GB, free: 39 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.4101, allocations: 56.19 kB / 0.5773 GB, free: 38.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.4102, allocations: 157 kB / 0.5774 GB, free: 38.79 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4102, allocations: 34.86 kB / 0.5775 GB, free: 38.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.4102, allocations: 100.9 kB / 0.5776 GB, free: 38.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4104, allocations: 206.3 kB / 0.5778 GB, free: 38.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.4105, allocations: 110.1 kB / 0.5779 GB, free: 38.41 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.4106, allocations: 344.6 kB / 0.5782 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.4109, allocations: 232.8 kB / 0.5784 GB, free: 37.97 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.4112, allocations: 250.3 kB / 0.5787 GB, free: 37.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.4119, allocations: 0.5316 MB / 0.5792 GB, free: 37.61 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.412, allocations: 0 / 0.5792 GB, free: 37.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008805/0.4128, allocations: 0.6436 MB / 0.5798 GB, free: 37.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4129, allocations: 5.531 kB / 0.5798 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4129, allocations: 0 / 0.5798 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4129, allocations: 2.75 kB / 0.5798 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.4134, allocations: 142.7 kB / 0.58 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4135, allocations: 3.781 kB / 0.58 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4136, allocations: 37.84 kB / 0.58 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.4137, allocations: 25.89 kB / 0.58 GB, free: 37.24 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 (74): * Single equations (assignments): 74 * 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.0001179/0.4138, allocations: 163.2 kB / 0.5802 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.4139, allocations: 24.34 kB / 0.5802 GB, free: 37.08 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4149, allocations: 0.7272 MB / 0.5809 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.415, allocations: 11.5 kB / 0.5809 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.415, allocations: 0 / 0.5809 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.415, allocations: 5.266 kB / 0.5809 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.4154, allocations: 465.9 kB / 0.5814 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4154, allocations: 1.25 kB / 0.5814 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/0.4162, allocations: 162 kB / 0.5815 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4162, allocations: 2.531 kB / 0.5815 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.4162, allocations: 23.36 kB / 0.5816 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4162, allocations: 14.45 kB / 0.5816 GB, free: 36.25 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4162, allocations: 0 / 0.5816 GB, free: 36.25 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4175, allocations: 0.9593 MB / 0.5825 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4177, allocations: 178 kB / 0.5827 GB, free: 35.63 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.4177, allocations: 23.05 kB / 0.5827 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4179, allocations: 11.5 kB / 0.5827 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.418, allocations: 41.31 kB / 0.5827 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.418, allocations: 18.75 kB / 0.5828 GB, free: 35.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.4181, allocations: 111.9 kB / 0.5829 GB, free: 35.49 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4181, allocations: 0 / 0.5829 GB, free: 35.49 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003635/0.4185, allocations: 126.2 kB / 0.583 GB, free: 35.47 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.001435/0.4199, allocations: 1.546 MB / 0.5845 GB, free: 34.44 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008173/0.4207, allocations: 0.5803 MB / 0.5851 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4208, allocations: 1.156 kB / 0.5851 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.4212, allocations: 327.3 kB / 0.5854 GB, free: 34.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4215, allocations: 57.66 kB / 0.5854 GB, free: 34.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.4257, allocations: 4.593 MB / 0.5899 GB, free: 29.51 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.4258, allocations: 0.8051 MB / 0.5907 GB, free: 28.68 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.4262, allocations: 179.1 kB / 0.5909 GB, free: 28.51 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.4264, allocations: 119.4 kB / 0.591 GB, free: 28.39 MB / 462.3 MB Notification: Performance of SimCode: time 5.1e-07/0.4264, allocations: 0 / 0.591 GB, free: 28.39 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4838/0.9102, allocations: 8.64 MB / 0.5994 GB, free: 19.95 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.9105, allocations: 253.1 kB / 0.5997 GB, free: 19.68 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.073, allocations: 0 / 0.5997 GB, free: 19.68 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1)