Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80,tolerance=1e-07,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80,tolerance=1e-07,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009664/0.0009665, allocations: 191.3 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3503/0.3503, allocations: 225.7 MB / 243 MB, free: 4.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 117.2 kB / 293.2 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.404/0.404, allocations: 119.5 MB / 462.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008809/0.0008809, allocations: 55.92 kB / 0.5427 GB, free: 9.238 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1074, allocations: 80.69 MB / 0.6215 GB, free: 8.406 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80): time 0.001803/0.1092, allocations: 1.445 MB / 0.6229 GB, free: 6.945 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.1099, allocations: 0.5147 MB / 0.6234 GB, free: 6.43 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.1099, allocations: 0 / 0.6234 GB, free: 6.43 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.11, allocations: 7.984 kB / 0.6234 GB, free: 6.422 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1102, allocations: 55.73 kB / 0.6234 GB, free: 6.367 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.083e-05/0.1103, allocations: 27.95 kB / 0.6235 GB, free: 6.34 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1115, allocations: 1.974 MB / 0.6254 GB, free: 4.363 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1115, allocations: 16.19 kB / 0.6254 GB, free: 4.348 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.112, allocations: 0.6829 MB / 0.6261 GB, free: 3.664 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.1129, allocations: 1.065 MB / 0.6271 GB, free: 2.594 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.1131, allocations: 116 kB / 0.6272 GB, free: 2.48 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.1134, allocations: 140 kB / 0.6274 GB, free: 2.344 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.1139, allocations: 0.8957 MB / 0.6282 GB, free: 1.449 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.1146, allocations: 0.8788 MB / 0.6291 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0009368/0.1155, allocations: 1.577 MB / 0.6306 GB, free: 14.98 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1155, allocations: 0 / 0.6306 GB, free: 14.98 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1155, allocations: 0 / 0.6306 GB, free: 14.98 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1155, allocations: 0 / 0.6306 GB, free: 14.98 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.004241/0.1198, allocations: 2.241 MB / 0.6328 GB, free: 12.68 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.1198, allocations: 8.031 kB / 0.6328 GB, free: 12.68 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.1201, allocations: 167.1 kB / 0.633 GB, free: 12.51 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/0.121, allocations: 0.7465 MB / 0.6337 GB, free: 11.72 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.121, allocations: 123.1 kB / 0.6338 GB, free: 11.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.1213, allocations: 235.3 kB / 0.6341 GB, free: 11.37 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.124, allocations: 2.235 MB / 0.6362 GB, free: 9.117 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.124, allocations: 0 / 0.6362 GB, free: 9.117 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.1242, allocations: 64 kB / 0.6363 GB, free: 9.055 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.1242, allocations: 40 kB / 0.6363 GB, free: 9.016 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.1274, allocations: 2.909 MB / 0.6392 GB, free: 6.102 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1295, allocations: 2.072 MB / 0.6412 GB, free: 3.977 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4057/0.5351, allocations: 5.709 MB / 0.6468 GB, free: 30.66 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.5375, allocations: 1.769 MB / 0.6485 GB, free: 30.11 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.5378, allocations: 155.5 kB / 0.6487 GB, free: 30.01 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5378, allocations: 75.92 kB / 0.6487 GB, free: 29.94 MB / 458.9 MB Notification: Performance of pre-optimization done (n=403): time 5.69e-06/0.5378, allocations: 0.7812 kB / 0.6487 GB, free: 29.94 MB / 458.9 MB Notification: Performance of matching and sorting (n=403): time 0.007147/0.545, allocations: 5.238 MB / 0.6538 GB, free: 28.47 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.545, allocations: 93.08 kB / 0.6539 GB, free: 28.4 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.5453, allocations: 347.7 kB / 0.6543 GB, free: 28.24 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5455, allocations: 92.48 kB / 0.6543 GB, free: 28.16 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.5455, allocations: 176 kB / 0.6545 GB, free: 28.01 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007077/0.5462, allocations: 1.548 MB / 0.656 GB, free: 26.79 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008753/0.5471, allocations: 0.7239 MB / 0.6567 GB, free: 26.48 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.5472, allocations: 335.5 kB / 0.6571 GB, free: 26.16 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.5497, allocations: 1.837 MB / 0.6588 GB, free: 25.68 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.5521, allocations: 1.9 MB / 0.6607 GB, free: 25.16 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/0.5571, allocations: 4.127 MB / 0.6647 GB, free: 23.75 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.5571, allocations: 2.938 kB / 0.6647 GB, free: 23.75 MB / 458.9 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.005618/0.5627, allocations: 4.827 MB / 0.6694 GB, free: 21.69 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5628, allocations: 3.656 kB / 0.6695 GB, free: 21.69 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5628, allocations: 0 / 0.6695 GB, free: 21.69 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.5628, allocations: 25.98 kB / 0.6695 GB, free: 21.68 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/0.566, allocations: 1.031 MB / 0.6705 GB, free: 21.48 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.566, allocations: 18.78 kB / 0.6705 GB, free: 21.48 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/0.567, allocations: 285.6 kB / 0.6708 GB, free: 21.25 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.5672, allocations: 157.9 kB / 0.6709 GB, free: 21.2 MB / 458.9 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 (564): * Single equations (assignments): 564 * 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.0004925/0.5677, allocations: 0.4939 MB / 0.6714 GB, free: 20.85 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.5679, allocations: 164.6 kB / 0.6716 GB, free: 20.77 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.574, allocations: 5.392 MB / 0.6768 GB, free: 16.39 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.5741, allocations: 52.88 kB / 0.6769 GB, free: 16.34 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5741, allocations: 0 / 0.6769 GB, free: 16.34 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.5741, allocations: 27.89 kB / 0.6769 GB, free: 16.31 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.5762, allocations: 2.572 MB / 0.6794 GB, free: 13.68 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.5762, allocations: 0 / 0.6794 GB, free: 13.68 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004334/0.5805, allocations: 1.163 MB / 0.6806 GB, free: 12.51 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.5806, allocations: 23.44 kB / 0.6806 GB, free: 12.49 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.5808, allocations: 187.8 kB / 0.6808 GB, free: 12.31 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.5808, allocations: 20 kB / 0.6808 GB, free: 12.29 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5808, allocations: 7.141 kB / 0.6808 GB, free: 12.29 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.5878, allocations: 7.166 MB / 0.6878 GB, free: 4.973 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/0.5885, allocations: 0.7273 MB / 0.6885 GB, free: 4.223 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.5888, allocations: 147.9 kB / 0.6886 GB, free: 4.078 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.5898, allocations: 92 kB / 0.6887 GB, free: 3.988 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.5903, allocations: 323.9 kB / 0.689 GB, free: 3.668 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/0.5905, allocations: 156 kB / 0.6892 GB, free: 3.516 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.000133/0.5906, allocations: 255.1 kB / 0.6894 GB, free: 3.27 MB / 458.9 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5906, allocations: 0 / 0.6894 GB, free: 3.27 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.0009158/0.5915, allocations: 0.8633 MB / 0.6903 GB, free: 2.406 MB / 458.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 161 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],Tu[41],Tu[42],Tu[43],Tu[44],Tu[45],Tu[46],Tu[47],Tu[48],Tu[49],Tu[50],Tu[51],Tu[52],Tu[53],Tu[54],Tu[55],Tu[56],Tu[57],Tu[58],Tu[59],Tu[60],Tu[61],Tu[62],Tu[63],Tu[64],Tu[65],Tu[66],Tu[67],Tu[68],Tu[69],Tu[70],Tu[71],Tu[72],Tu[73],Tu[74],Tu[75],Tu[76],Tu[77],Tu[78],Tu[79],Tu[80],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80]) * 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 (564): * Single equations (assignments): 564 * 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.0003509/0.5919, allocations: 338.5 kB / 0.6906 GB, free: 2.07 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.5967, allocations: 4.552 MB / 0.695 GB, free: 13.46 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5968, allocations: 0 / 0.695 GB, free: 13.46 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/0.5995, allocations: 2.519 MB / 0.6975 GB, free: 10.93 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6005, allocations: 385.3 kB / 0.6979 GB, free: 10.55 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.6125, allocations: 11.73 MB / 0.7093 GB, free: 14.78 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008341/0.6133, allocations: 1.638 MB / 0.7109 GB, free: 13.1 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.002711/0.6161, allocations: 1.494 MB / 0.7124 GB, free: 11.6 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009552/0.617, allocations: 327.3 kB / 0.7127 GB, free: 11.28 MB / 490.9 MB Notification: Performance of SimCode: time 3.31e-07/0.617, allocations: 3.938 kB / 0.7127 GB, free: 11.28 MB / 490.9 MB Notification: Performance of Templates: time 0.03679/0.6538, allocations: 37.39 MB / 0.7492 GB, free: 5.992 MB / 0.5106 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80 -s=ida -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80.pipe 2>&1)