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.001548/0.001548, allocations: 110 kB / 17.06 MB, free: 6.113 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.001585/0.001585, allocations: 197.4 kB / 18 MB, free: 5.191 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8795/0.8795, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 61.25 kB / 0.5719 GB, free: 39.15 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1267, allocations: 80.69 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002324/0.1291, allocations: 1.394 MB / 0.652 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000909/0.13, allocations: 0.5107 MB / 0.6525 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.1301, allocations: 0 / 0.6525 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.837e-05/0.1302, allocations: 11.92 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1305, allocations: 59.67 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.1306, allocations: 35.88 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.131, allocations: 327.3 kB / 0.653 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.131, allocations: 8.172 kB / 0.653 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1312, allocations: 111.8 kB / 0.6531 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.1315, allocations: 159.6 kB / 0.6532 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.1315, allocations: 16 kB / 0.6532 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1317, allocations: 35.97 kB / 0.6533 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1318, allocations: 119.7 kB / 0.6534 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.132, allocations: 127.4 kB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1323, allocations: 246.9 kB / 0.6537 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1323, allocations: 0 / 0.6537 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1323, allocations: 4 kB / 0.6537 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1323, allocations: 0 / 0.6537 GB, free: 8.914 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00114/0.1334, allocations: 0.5807 MB / 0.6543 GB, free: 8.285 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1335, allocations: 15.89 kB / 0.6543 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.423e-05/0.1336, allocations: 58.72 kB / 0.6544 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.1336, allocations: 32.75 kB / 0.6544 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1339, allocations: 253.8 kB / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.134, allocations: 16.44 kB / 0.6547 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.134, allocations: 35.94 kB / 0.6547 GB, free: 7.836 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.1346, allocations: 311.1 kB / 0.655 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1346, allocations: 3.938 kB / 0.655 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.1346, allocations: 8 kB / 0.655 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1346, allocations: 8 kB / 0.655 GB, free: 7.504 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.1351, allocations: 289.5 kB / 0.6553 GB, free: 7.223 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.1356, allocations: 399.4 kB / 0.6557 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.1373, allocations: 0.6737 MB / 0.6563 GB, free: 6.102 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.1377, allocations: 234 kB / 0.6566 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.1379, allocations: 98.17 kB / 0.6567 GB, free: 5.758 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1379, allocations: 39 kB / 0.6567 GB, free: 5.711 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.914e-06/0.138, allocations: 3.938 kB / 0.6567 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001175/0.1391, allocations: 0.6879 MB / 0.6574 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1392, allocations: 59.84 kB / 0.6574 GB, free: 4.938 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1393, allocations: 157.4 kB / 0.6576 GB, free: 4.77 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1394, allocations: 33.64 kB / 0.6576 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1395, allocations: 101.1 kB / 0.6577 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.1396, allocations: 214.2 kB / 0.6579 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.1398, allocations: 106.3 kB / 0.658 GB, free: 4.305 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.14, allocations: 350.7 kB / 0.6583 GB, free: 3.953 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.1404, allocations: 233.1 kB / 0.6586 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.1408, allocations: 249.7 kB / 0.6588 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.1416, allocations: 0.5359 MB / 0.6593 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1416, allocations: 0 / 0.6593 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009988/0.1426, allocations: 0.6415 MB / 0.66 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1426, allocations: 8 kB / 0.66 GB, free: 2.285 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1426, allocations: 0 / 0.66 GB, free: 2.285 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1426, allocations: 7.938 kB / 0.66 GB, free: 2.277 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.1432, allocations: 135.8 kB / 0.6601 GB, free: 2.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1432, allocations: 4 kB / 0.6601 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1434, allocations: 47.62 kB / 0.6601 GB, free: 2.094 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.1435, allocations: 19.98 kB / 0.6602 GB, free: 2.074 MB / 0.4983 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 (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.0001812/0.1437, allocations: 162.6 kB / 0.6603 GB, free: 1.906 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.1437, allocations: 27.86 kB / 0.6604 GB, free: 1.879 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.145, allocations: 0.7205 MB / 0.6611 GB, free: 1.156 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.145, allocations: 11.94 kB / 0.6611 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.145, allocations: 0 / 0.6611 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.145, allocations: 7.984 kB / 0.6611 GB, free: 1.137 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.1455, allocations: 457.7 kB / 0.6615 GB, free: 0.6406 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1455, allocations: 0 / 0.6615 GB, free: 0.6406 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.1463, allocations: 163.8 kB / 0.6617 GB, free: 492 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1463, allocations: 4 kB / 0.6617 GB, free: 488 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.1463, allocations: 27.97 kB / 0.6617 GB, free: 460 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.1464, allocations: 7.938 kB / 0.6617 GB, free: 452 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1464, allocations: 0 / 0.6617 GB, free: 452 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.1478, allocations: 0.9634 MB / 0.6626 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.148, allocations: 172.6 kB / 0.6628 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.148, allocations: 23.98 kB / 0.6628 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1482, allocations: 12 kB / 0.6628 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.1483, allocations: 44.59 kB / 0.6629 GB, free: 15.19 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.1484, allocations: 23.94 kB / 0.6629 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.477e-05/0.1484, allocations: 111.2 kB / 0.663 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.1484, allocations: 0 / 0.663 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003403/0.1488, allocations: 124 kB / 0.6631 GB, free: 14.93 MB / 0.5139 GB 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.001767/0.1506, allocations: 1.539 MB / 0.6646 GB, free: 13.37 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009068/0.1515, allocations: 0.5833 MB / 0.6652 GB, free: 12.78 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1515, allocations: 4 kB / 0.6652 GB, free: 12.78 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.1519, allocations: 331.5 kB / 0.6655 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1523, allocations: 62.91 kB / 0.6656 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/0.1579, allocations: 4.518 MB / 0.67 GB, free: 7.793 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1583, allocations: 0.8051 MB / 0.6708 GB, free: 6.965 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.1587, allocations: 175.1 kB / 0.671 GB, free: 6.793 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.1589, allocations: 135.3 kB / 0.6711 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of SimCode: time 7.82e-07/0.159, allocations: 0 / 0.6711 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4081/0.5671, allocations: 9.157 MB / 0.68 GB, free: 13.69 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.28, allocations: 10.34 kB / 0.68 GB, free: 13.69 MB / 0.5295 GB (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)