Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",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.001105/0.001105, allocations: 108.3 kB / 17.06 MB, free: 5.957 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.001025/0.001025, allocations: 200 kB / 18.01 MB, free: 5.039 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.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.823/0.823, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.77 kB / 0.5719 GB, free: 39.1 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 80.7 MB / 0.6507 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00218/0.1166, allocations: 1.386 MB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.1175, allocations: 0.5185 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.1175, allocations: 0 / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.1176, allocations: 7.922 kB / 0.6526 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1179, allocations: 55.75 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.118, allocations: 39.88 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.1185, allocations: 0.5498 MB / 0.6532 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.1185, allocations: 8.188 kB / 0.6532 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1187, allocations: 199.7 kB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.1191, allocations: 283.5 kB / 0.6536 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.1192, allocations: 28 kB / 0.6537 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1193, allocations: 51.97 kB / 0.6537 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1195, allocations: 239.4 kB / 0.654 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.1198, allocations: 234.9 kB / 0.6542 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.1202, allocations: 438.2 kB / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1202, allocations: 0 / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1202, allocations: 0 / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.1202, allocations: 0 / 0.6546 GB, free: 8.059 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00166/0.1219, allocations: 0.8227 MB / 0.6554 GB, free: 7.184 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1219, allocations: 15.89 kB / 0.6554 GB, free: 7.168 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.865e-05/0.122, allocations: 90.64 kB / 0.6555 GB, free: 7.07 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.1221, allocations: 48.66 kB / 0.6555 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1226, allocations: 335.5 kB / 0.6559 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1226, allocations: 33 kB / 0.6559 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.1227, allocations: 59.89 kB / 0.656 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008685/0.1236, allocations: 0.5802 MB / 0.6565 GB, free: 5.98 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1236, allocations: 4 kB / 0.6565 GB, free: 5.977 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.1237, allocations: 15.98 kB / 0.6565 GB, free: 5.961 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1237, allocations: 12 kB / 0.6566 GB, free: 5.949 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.1246, allocations: 0.5854 MB / 0.6571 GB, free: 5.363 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.1253, allocations: 0.6179 MB / 0.6577 GB, free: 4.699 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.1285, allocations: 1.36 MB / 0.6591 GB, free: 3.328 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.1291, allocations: 455.6 kB / 0.6595 GB, free: 2.879 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.1293, allocations: 114 kB / 0.6596 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1294, allocations: 43.56 kB / 0.6596 GB, free: 2.699 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.375e-06/0.1294, allocations: 0 / 0.6596 GB, free: 2.699 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002059/0.1315, allocations: 1.351 MB / 0.661 GB, free: 1.344 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1315, allocations: 64.41 kB / 0.661 GB, free: 1.266 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1317, allocations: 170.7 kB / 0.6612 GB, free: 1.09 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.1317, allocations: 45.7 kB / 0.6612 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.1318, allocations: 106.1 kB / 0.6613 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.1321, allocations: 428.4 kB / 0.6617 GB, free: 0.5078 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.1324, allocations: 195 kB / 0.6619 GB, free: 316 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1325, allocations: 370.7 kB / 0.6623 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/0.1332, allocations: 470.3 kB / 0.6627 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.1339, allocations: 487.5 kB / 0.6632 GB, free: 15 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.1354, allocations: 1.044 MB / 0.6642 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1354, allocations: 0 / 0.6642 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001807/0.1372, allocations: 1.254 MB / 0.6654 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1372, allocations: 4 kB / 0.6654 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1372, allocations: 0 / 0.6654 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1373, allocations: 4 kB / 0.6654 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.1383, allocations: 267.7 kB / 0.6657 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1383, allocations: 7.984 kB / 0.6657 GB, free: 12.42 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.1387, allocations: 79.41 kB / 0.6658 GB, free: 12.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.1388, allocations: 35.98 kB / 0.6658 GB, free: 12.3 MB / 0.5139 GB 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 (144): * Single equations (assignments): 144 * 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.0002421/0.139, allocations: 214.3 kB / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.1391, allocations: 51.72 kB / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.1413, allocations: 1.392 MB / 0.6674 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1414, allocations: 12 kB / 0.6674 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1414, allocations: 4 kB / 0.6674 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1414, allocations: 3.984 kB / 0.6674 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/0.1422, allocations: 0.7428 MB / 0.6682 GB, free: 9.828 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1422, allocations: 7.922 kB / 0.6682 GB, free: 9.82 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.1437, allocations: 307.6 kB / 0.6685 GB, free: 9.52 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.1437, allocations: 4 kB / 0.6685 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.1438, allocations: 47.95 kB / 0.6685 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.1438, allocations: 4 kB / 0.6685 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1438, allocations: 0 / 0.6685 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.1464, allocations: 1.866 MB / 0.6703 GB, free: 7.578 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.1468, allocations: 256.2 kB / 0.6706 GB, free: 7.309 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.1469, allocations: 43.97 kB / 0.6706 GB, free: 7.266 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.1472, allocations: 20 kB / 0.6707 GB, free: 7.246 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.1474, allocations: 77.2 kB / 0.6707 GB, free: 7.168 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.1474, allocations: 47.98 kB / 0.6708 GB, free: 7.121 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001004/0.1475, allocations: 140.3 kB / 0.6709 GB, free: 6.984 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1475, allocations: 4 kB / 0.6709 GB, free: 6.98 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004921/0.148, allocations: 235.9 kB / 0.6711 GB, free: 6.75 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.002871/0.1509, allocations: 2.447 MB / 0.6735 GB, free: 4.273 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.1526, allocations: 1.147 MB / 0.6746 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1526, allocations: 3.938 kB / 0.6746 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.1535, allocations: 0.6397 MB / 0.6753 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.1539, allocations: 103.9 kB / 0.6754 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/0.1632, allocations: 7.799 MB / 0.683 GB, free: 10.48 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.1637, allocations: 0.9265 MB / 0.6839 GB, free: 9.535 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.1645, allocations: 364.8 kB / 0.6842 GB, free: 9.176 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.1649, allocations: 239.3 kB / 0.6845 GB, free: 8.941 MB / 0.5295 GB Notification: Performance of SimCode: time 6.21e-07/0.1649, allocations: 0 / 0.6845 GB, free: 8.941 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.2014, allocations: 16.55 MB / 0.7006 GB, free: 8.59 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/8.721, allocations: 4.5 kB / 0.7006 GB, free: 8.586 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.csv --start-time 0 --stop-time 432000 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 20 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1)