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.001275/0.001275, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.001265/0.001265, allocations: 189.4 kB / 18 MB, free: 5.098 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.916/0.916, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 61.66 kB / 0.5719 GB, free: 39.18 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1262, allocations: 80.69 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002335/0.1286, allocations: 1.386 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.1295, allocations: 0.5107 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.1296, allocations: 0 / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.245e-05/0.1297, allocations: 7.922 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.13, allocations: 63.73 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.1301, allocations: 39.88 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.1307, allocations: 0.5459 MB / 0.6532 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1307, allocations: 8.188 kB / 0.6532 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1309, allocations: 195.7 kB / 0.6534 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.1314, allocations: 287.4 kB / 0.6536 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.1314, allocations: 28 kB / 0.6537 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1316, allocations: 51.97 kB / 0.6537 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.1319, allocations: 239.4 kB / 0.654 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.1321, allocations: 230.9 kB / 0.6542 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1326, allocations: 442.2 kB / 0.6546 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1326, allocations: 4 kB / 0.6546 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1326, allocations: 0 / 0.6546 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.1326, allocations: 0 / 0.6546 GB, free: 8.07 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.001745/0.1344, allocations: 0.8226 MB / 0.6554 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1344, allocations: 19.83 kB / 0.6554 GB, free: 7.176 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.1345, allocations: 90.7 kB / 0.6555 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1346, allocations: 48.66 kB / 0.6556 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.135, allocations: 327.5 kB / 0.6559 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1351, allocations: 29 kB / 0.6559 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1352, allocations: 59.89 kB / 0.656 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.1361, allocations: 0.5879 MB / 0.6565 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1361, allocations: 0 / 0.6565 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.1362, allocations: 19.98 kB / 0.6565 GB, free: 5.973 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1362, allocations: 8 kB / 0.6566 GB, free: 5.965 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.1371, allocations: 0.5816 MB / 0.6571 GB, free: 5.383 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.1379, allocations: 0.6257 MB / 0.6577 GB, free: 4.711 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.1412, allocations: 1.364 MB / 0.6591 GB, free: 3.336 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/0.1419, allocations: 459.6 kB / 0.6595 GB, free: 2.883 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.1421, allocations: 102.1 kB / 0.6596 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1422, allocations: 47.5 kB / 0.6596 GB, free: 2.711 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.505e-06/0.1422, allocations: 0 / 0.6596 GB, free: 2.711 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002179/0.1444, allocations: 1.347 MB / 0.661 GB, free: 1.359 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1444, allocations: 64.41 kB / 0.661 GB, free: 1.281 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1446, allocations: 174.7 kB / 0.6612 GB, free: 1.102 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.1447, allocations: 45.7 kB / 0.6612 GB, free: 1.051 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1447, allocations: 102.1 kB / 0.6613 GB, free: 0.9453 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.1451, allocations: 428.4 kB / 0.6617 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.1454, allocations: 195 kB / 0.6619 GB, free: 332 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1456, allocations: 370.7 kB / 0.6623 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.1463, allocations: 470.3 kB / 0.6627 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007263/0.147, allocations: 491.5 kB / 0.6632 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.1486, allocations: 1.048 MB / 0.6642 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1486, allocations: 0 / 0.6642 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001871/0.1505, allocations: 1.246 MB / 0.6654 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1505, allocations: 4 kB / 0.6654 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1505, allocations: 0 / 0.6654 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1505, allocations: 4 kB / 0.6654 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.1516, allocations: 271.6 kB / 0.6657 GB, free: 12.44 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.1516, allocations: 7.984 kB / 0.6657 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.1519, allocations: 79.41 kB / 0.6658 GB, free: 12.35 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.152, allocations: 39.98 kB / 0.6658 GB, free: 12.31 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.0002593/0.1523, allocations: 210.4 kB / 0.666 GB, free: 12.1 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.1524, allocations: 47.72 kB / 0.6661 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.1547, allocations: 1.4 MB / 0.6674 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.1547, allocations: 16 kB / 0.6675 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1548, allocations: 0 / 0.6675 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1548, allocations: 7.922 kB / 0.6675 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.1557, allocations: 0.7429 MB / 0.6682 GB, free: 9.832 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1557, allocations: 3.984 kB / 0.6682 GB, free: 9.828 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.1571, allocations: 303.6 kB / 0.6685 GB, free: 9.531 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.1571, allocations: 4 kB / 0.6685 GB, free: 9.527 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/0.1572, allocations: 51.95 kB / 0.6685 GB, free: 9.477 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.1572, allocations: 4 kB / 0.6685 GB, free: 9.473 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1572, allocations: 4 kB / 0.6685 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.16, allocations: 1.858 MB / 0.6704 GB, free: 7.59 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.1603, allocations: 256.2 kB / 0.6706 GB, free: 7.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1604, allocations: 43.97 kB / 0.6706 GB, free: 7.277 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.1608, allocations: 20 kB / 0.6707 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.1609, allocations: 81.2 kB / 0.6707 GB, free: 7.176 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/0.161, allocations: 47.98 kB / 0.6708 GB, free: 7.129 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001075/0.1611, allocations: 136.3 kB / 0.6709 GB, free: 6.996 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1611, allocations: 0 / 0.6709 GB, free: 6.996 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005053/0.1616, allocations: 239.9 kB / 0.6711 GB, free: 6.762 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.003105/0.1647, allocations: 2.443 MB / 0.6735 GB, free: 4.289 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.1665, allocations: 1.151 MB / 0.6747 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1665, allocations: 0 / 0.6747 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.1674, allocations: 0.6397 MB / 0.6753 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1679, allocations: 104 kB / 0.6754 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.178, allocations: 7.803 MB / 0.683 GB, free: 10.5 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.1786, allocations: 0.9274 MB / 0.6839 GB, free: 9.547 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008042/0.1794, allocations: 360.9 kB / 0.6842 GB, free: 9.191 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.1799, allocations: 239.3 kB / 0.6845 GB, free: 8.957 MB / 0.5295 GB Notification: Performance of SimCode: time 7.51e-07/0.1799, allocations: 0 / 0.6845 GB, free: 8.957 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.2269, allocations: 16.55 MB / 0.7006 GB, free: 8.605 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.987/9.214, allocations: 7.875 kB / 0.7006 GB, free: 8.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1)