Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",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.001451/0.001451, allocations: 106.6 kB / 17.06 MB, free: 6.102 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.001445/0.001446, allocations: 193.4 kB / 18 MB, free: 5.172 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9268/0.9268, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.03 kB / 0.5719 GB, free: 39.16 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1322, allocations: 80.7 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002644/0.1349, allocations: 1.382 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1359, allocations: 0.5146 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.136, allocations: 0 / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.01e-05/0.1361, allocations: 7.922 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1364, allocations: 59.73 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1366, allocations: 39.83 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000981/0.1376, allocations: 1.022 MB / 0.6536 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.1376, allocations: 20.19 kB / 0.6537 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.1382, allocations: 355.6 kB / 0.654 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009027/0.1391, allocations: 0.5263 MB / 0.6545 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.1394, allocations: 56 kB / 0.6546 GB, free: 8.109 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.1397, allocations: 83.97 kB / 0.6546 GB, free: 8.027 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.1403, allocations: 459 kB / 0.6551 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006898/0.141, allocations: 453.9 kB / 0.6555 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.1418, allocations: 0.8208 MB / 0.6563 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1418, allocations: 0 / 0.6563 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1418, allocations: 0 / 0.6563 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1419, allocations: 4 kB / 0.6563 GB, free: 6.305 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002957/0.1448, allocations: 1.299 MB / 0.6576 GB, free: 4.953 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1449, allocations: 8.031 kB / 0.6576 GB, free: 4.945 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.145, allocations: 135.2 kB / 0.6577 GB, free: 4.805 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.1452, allocations: 92.42 kB / 0.6578 GB, free: 4.715 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.1459, allocations: 481.6 kB / 0.6583 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.146, allocations: 62 kB / 0.6583 GB, free: 4.145 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.1462, allocations: 115.8 kB / 0.6584 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.148, allocations: 1.135 MB / 0.6596 GB, free: 2.891 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.148, allocations: 4 kB / 0.6596 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.1481, allocations: 28 kB / 0.6596 GB, free: 2.859 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.1481, allocations: 20 kB / 0.6596 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.15, allocations: 1.265 MB / 0.6608 GB, free: 1.57 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1515, allocations: 1.089 MB / 0.6619 GB, free: 440 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.158, allocations: 2.777 MB / 0.6646 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.1594, allocations: 0.8851 MB / 0.6655 GB, free: 12.77 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.1597, allocations: 127 kB / 0.6656 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.1597, allocations: 56.56 kB / 0.6657 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.677e-06/0.1597, allocations: 0 / 0.6657 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004315/0.164, allocations: 2.652 MB / 0.6682 GB, free: 9.91 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.1641, allocations: 77.34 kB / 0.6683 GB, free: 9.82 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1644, allocations: 237 kB / 0.6685 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.121e-05/0.1645, allocations: 57.7 kB / 0.6686 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.1646, allocations: 131.3 kB / 0.6687 GB, free: 9.383 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/0.1652, allocations: 0.8212 MB / 0.6695 GB, free: 8.555 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/0.1657, allocations: 380.2 kB / 0.6699 GB, free: 8.176 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1659, allocations: 329.9 kB / 0.6702 GB, free: 7.848 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.1674, allocations: 0.9138 MB / 0.6711 GB, free: 6.93 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.1689, allocations: 0.9564 MB / 0.672 GB, free: 5.965 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.172, allocations: 2.059 MB / 0.674 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.172, allocations: 4 kB / 0.674 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003791/0.1758, allocations: 2.435 MB / 0.6764 GB, free: 1.391 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1759, allocations: 8 kB / 0.6764 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1759, allocations: 0 / 0.6764 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.1759, allocations: 15.98 kB / 0.6764 GB, free: 1.367 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.1779, allocations: 0.5189 MB / 0.677 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.1779, allocations: 8 kB / 0.677 GB, free: 0.8398 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.1787, allocations: 146.8 kB / 0.6771 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.1788, allocations: 79.97 kB / 0.6772 GB, free: 0.6172 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 (284): * Single equations (assignments): 284 * 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.0004431/0.1793, allocations: 306.7 kB / 0.6775 GB, free: 316 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.1794, allocations: 95.38 kB / 0.6776 GB, free: 220 kB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.184, allocations: 2.714 MB / 0.6802 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.184, allocations: 28 kB / 0.6802 GB, free: 13.42 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1841, allocations: 4 kB / 0.6802 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.1841, allocations: 11.95 kB / 0.6803 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.1858, allocations: 1.339 MB / 0.6816 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.1858, allocations: 4 kB / 0.6816 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/0.1885, allocations: 0.5853 MB / 0.6821 GB, free: 11.43 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/0.1886, allocations: 8 kB / 0.6821 GB, free: 11.42 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.1888, allocations: 95.92 kB / 0.6822 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/0.1888, allocations: 12 kB / 0.6822 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1888, allocations: 0 / 0.6822 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005397/0.1942, allocations: 3.628 MB / 0.6858 GB, free: 7.609 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/0.1948, allocations: 431.4 kB / 0.6862 GB, free: 7.168 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.195, allocations: 75.95 kB / 0.6863 GB, free: 7.094 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.1957, allocations: 48 kB / 0.6863 GB, free: 7.047 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.196, allocations: 162 kB / 0.6865 GB, free: 6.887 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.1961, allocations: 79.97 kB / 0.6865 GB, free: 6.809 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001642/0.1963, allocations: 176.4 kB / 0.6867 GB, free: 6.641 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1963, allocations: 0 / 0.6867 GB, free: 6.641 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008405/0.1972, allocations: 448 kB / 0.6871 GB, free: 6.203 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],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]) * 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 (284): * Single equations (assignments): 284 * 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.005871/0.203, allocations: 4.284 MB / 0.6913 GB, free: 1.832 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003731/0.2068, allocations: 2.286 MB / 0.6936 GB, free: 15.51 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2068, allocations: 0 / 0.6936 GB, free: 15.51 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.2086, allocations: 1.265 MB / 0.6948 GB, free: 14.24 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.2094, allocations: 200.3 kB / 0.695 GB, free: 14.04 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.2294, allocations: 14.47 MB / 0.7091 GB, free: 15.4 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/0.2303, allocations: 1.159 MB / 0.7102 GB, free: 14.21 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.001618/0.2319, allocations: 0.7317 MB / 0.711 GB, free: 13.48 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008626/0.2328, allocations: 475.2 kB / 0.7114 GB, free: 13.02 MB / 0.5608 GB Notification: Performance of SimCode: time 8.12e-07/0.2328, allocations: 0 / 0.7114 GB, free: 13.02 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/0.4005, allocations: 31.32 MB / 0.742 GB, free: 13.91 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.33, allocations: 8.172 kB / 0.742 GB, free: 13.91 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1)