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.001263/0.001263, allocations: 115.5 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.001103/0.001103, allocations: 186 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.447/1.447, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8963/0.8963, allocations: 119.3 MB / 410.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 0.4919 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4253, allocations: 80.69 MB / 0.5707 GB, free: 43.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002035/0.4273, allocations: 1.447 MB / 0.5721 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006453/0.428, allocations: 0.5158 MB / 0.5726 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.4281, allocations: 1.188 kB / 0.5726 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.162e-05/0.4281, allocations: 3.938 kB / 0.5726 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.4284, allocations: 46.62 kB / 0.5726 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.269e-05/0.4285, allocations: 42.66 kB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.4287, allocations: 316.6 kB / 0.573 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.4288, allocations: 5.875 kB / 0.573 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.4289, allocations: 115.3 kB / 0.5731 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4291, allocations: 172.2 kB / 0.5733 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.4292, allocations: 15.41 kB / 0.5733 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.4293, allocations: 45.83 kB / 0.5733 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.4294, allocations: 116.3 kB / 0.5734 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.4295, allocations: 128.1 kB / 0.5735 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.4297, allocations: 239 kB / 0.5738 GB, free: 41.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4297, allocations: 5.562 kB / 0.5738 GB, free: 41.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4297, allocations: 0 / 0.5738 GB, free: 41.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.4298, allocations: 0 / 0.5738 GB, free: 41.67 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.0009727/0.4307, allocations: 0.5752 MB / 0.5743 GB, free: 41.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4308, allocations: 14.17 kB / 0.5744 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.604e-05/0.4308, allocations: 63 kB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.4309, allocations: 25.25 kB / 0.5744 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.4312, allocations: 248 kB / 0.5747 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4312, allocations: 20.84 kB / 0.5747 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.4312, allocations: 28.81 kB / 0.5747 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.4317, allocations: 316.4 kB / 0.575 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4317, allocations: 4.75 kB / 0.575 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.4318, allocations: 9.438 kB / 0.575 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4318, allocations: 9.891 kB / 0.575 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.4322, allocations: 291.4 kB / 0.5753 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4326, allocations: 388.5 kB / 0.5757 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.4341, allocations: 0.6936 MB / 0.5764 GB, free: 39.87 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.4344, allocations: 229.3 kB / 0.5766 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.4346, allocations: 95.14 kB / 0.5767 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.4346, allocations: 37.75 kB / 0.5767 GB, free: 39.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.422e-06/0.4346, allocations: 0 / 0.5767 GB, free: 39.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001042/0.4357, allocations: 0.6941 MB / 0.5774 GB, free: 39.29 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.4357, allocations: 57.38 kB / 0.5775 GB, free: 39.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.4358, allocations: 154.5 kB / 0.5776 GB, free: 39.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4358, allocations: 35.55 kB / 0.5776 GB, free: 39.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.4359, allocations: 104.8 kB / 0.5777 GB, free: 38.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.436, allocations: 202 kB / 0.5779 GB, free: 38.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.4361, allocations: 110.3 kB / 0.578 GB, free: 38.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.4362, allocations: 344 kB / 0.5784 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.4365, allocations: 233 kB / 0.5786 GB, free: 38.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.4369, allocations: 250.7 kB / 0.5788 GB, free: 38.16 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.4375, allocations: 0.5279 MB / 0.5793 GB, free: 37.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4376, allocations: 4 kB / 0.5793 GB, free: 37.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008279/0.4384, allocations: 0.6438 MB / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4384, allocations: 5.031 kB / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4384, allocations: 0 / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4384, allocations: 2.531 kB / 0.58 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.439, allocations: 143.6 kB / 0.5801 GB, free: 37.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.439, allocations: 2.531 kB / 0.5801 GB, free: 37.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.4392, allocations: 39.09 kB / 0.5802 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4392, allocations: 25.86 kB / 0.5802 GB, free: 37.54 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.00013/0.4394, allocations: 161.9 kB / 0.5803 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4394, allocations: 24.34 kB / 0.5804 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.4405, allocations: 0.7276 MB / 0.5811 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4405, allocations: 11.53 kB / 0.5811 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4405, allocations: 3.938 kB / 0.5811 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4405, allocations: 3.984 kB / 0.5811 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.441, allocations: 463.8 kB / 0.5815 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.441, allocations: 4 kB / 0.5815 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000727/0.4417, allocations: 158.3 kB / 0.5817 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.4417, allocations: 2.719 kB / 0.5817 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.4418, allocations: 26.23 kB / 0.5817 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.4418, allocations: 11.52 kB / 0.5817 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4418, allocations: 0 / 0.5817 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.443, allocations: 0.955 MB / 0.5827 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4432, allocations: 174.5 kB / 0.5828 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.4432, allocations: 27.67 kB / 0.5828 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4434, allocations: 10.09 kB / 0.5829 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.4435, allocations: 43.06 kB / 0.5829 GB, free: 35.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4436, allocations: 18.16 kB / 0.5829 GB, free: 35.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.4436, allocations: 112.2 kB / 0.583 GB, free: 35.79 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4436, allocations: 1.094 kB / 0.583 GB, free: 35.79 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003545/0.444, allocations: 126 kB / 0.5831 GB, free: 35.77 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.001393/0.4454, allocations: 1.552 MB / 0.5847 GB, free: 34.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.4465, allocations: 0.8364 MB / 0.5855 GB, free: 34.14 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4465, allocations: 3.938 kB / 0.5855 GB, free: 34.13 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.4468, allocations: 327.6 kB / 0.5858 GB, free: 33.81 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.4472, allocations: 58.78 kB / 0.5858 GB, free: 33.76 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.4511, allocations: 4.585 MB / 0.5903 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4513, allocations: 0.8051 MB / 0.5911 GB, free: 28.26 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000331/0.4517, allocations: 179.1 kB / 0.5913 GB, free: 28.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.4519, allocations: 119.4 kB / 0.5914 GB, free: 27.97 MB / 462.3 MB Notification: Performance of SimCode: time 1.142e-06/0.4519, allocations: 0 / 0.5914 GB, free: 27.97 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/0.6404, allocations: 8.949 MB / 0.6001 GB, free: 19.23 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.6407, allocations: 245.5 kB / 0.6004 GB, free: 18.97 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.776, allocations: 0 / 0.6004 GB, free: 18.97 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)