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.0007797/0.0007798, allocations: 90.27 kB / 16.32 MB, free: 6.449 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.0009028/0.000903, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.425/1.425, allocations: 223.3 MB / 241.2 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.101/1.101, allocations: 120.5 MB / 412.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004836, allocations: 12 kB / 0.4957 GB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6506, allocations: 82.83 MB / 0.5766 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001403/0.6521, allocations: 1.088 MB / 0.5776 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.653, allocations: 494.4 kB / 0.5781 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.6531, allocations: 0 / 0.5781 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.6532, allocations: 8.984 kB / 0.5781 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.6535, allocations: 54.95 kB / 0.5781 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.375e-05/0.6536, allocations: 32.94 kB / 0.5782 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.6539, allocations: 306.9 kB / 0.5785 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.654, allocations: 5.219 kB / 0.5785 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.6541, allocations: 112.6 kB / 0.5786 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.6544, allocations: 175.4 kB / 0.5788 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.6544, allocations: 15.12 kB / 0.5788 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.6545, allocations: 42.09 kB / 0.5788 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.6547, allocations: 118.6 kB / 0.5789 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.6548, allocations: 61.02 kB / 0.579 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.6549, allocations: 163.2 kB / 0.5791 GB, free: 40.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.655, allocations: 0 / 0.5791 GB, free: 40.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.983e-06/0.655, allocations: 0 / 0.5791 GB, free: 40.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.655, allocations: 0.9375 kB / 0.5791 GB, free: 40.52 MB / 462.3 MB 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.0009499/0.6559, allocations: 0.5706 MB / 0.5797 GB, free: 40.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.656, allocations: 9.219 kB / 0.5797 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.6561, allocations: 58.83 kB / 0.5798 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.6561, allocations: 28.58 kB / 0.5798 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.6564, allocations: 246.3 kB / 0.58 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6565, allocations: 16.75 kB / 0.58 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.6565, allocations: 29.44 kB / 0.5801 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.657, allocations: 318.8 kB / 0.5804 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6571, allocations: 3.938 kB / 0.5804 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.6571, allocations: 10.28 kB / 0.5804 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.6571, allocations: 12.23 kB / 0.5804 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005187/0.6576, allocations: 290.4 kB / 0.5807 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.6581, allocations: 394.8 kB / 0.581 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.6598, allocations: 0.672 MB / 0.5817 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.6601, allocations: 232.6 kB / 0.5819 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.6603, allocations: 88.27 kB / 0.582 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.6603, allocations: 41.52 kB / 0.582 GB, free: 38.5 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.413e-06/0.6604, allocations: 7.938 kB / 0.5821 GB, free: 38.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001211/0.6616, allocations: 0.6953 MB / 0.5827 GB, free: 38.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6616, allocations: 56.88 kB / 0.5828 GB, free: 38.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6618, allocations: 145.1 kB / 0.5829 GB, free: 37.97 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6618, allocations: 36.48 kB / 0.583 GB, free: 37.93 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.6619, allocations: 103.9 kB / 0.5831 GB, free: 37.83 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.662, allocations: 198.9 kB / 0.5833 GB, free: 37.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.662, allocations: 14.78 kB / 0.5833 GB, free: 37.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6622, allocations: 348 kB / 0.5836 GB, free: 37.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.6625, allocations: 230.5 kB / 0.5838 GB, free: 37.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.6629, allocations: 247.8 kB / 0.5841 GB, free: 37.09 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.6634, allocations: 280.3 kB / 0.5843 GB, free: 36.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6634, allocations: 0 / 0.5843 GB, free: 36.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001142/0.6645, allocations: 0.6474 MB / 0.585 GB, free: 36.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6645, allocations: 7.781 kB / 0.585 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6646, allocations: 0 / 0.585 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.6646, allocations: 3.062 kB / 0.585 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.6651, allocations: 142.8 kB / 0.5851 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6651, allocations: 2.531 kB / 0.5851 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.6653, allocations: 47.09 kB / 0.5851 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.6654, allocations: 21.86 kB / 0.5852 GB, free: 36.59 MB / 462.3 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.6655, allocations: 158.4 kB / 0.5853 GB, free: 36.44 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.6656, allocations: 24.34 kB / 0.5853 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.6668, allocations: 0.7269 MB / 0.5861 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6668, allocations: 15.53 kB / 0.5861 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6668, allocations: 3.953 kB / 0.5861 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.6668, allocations: 7.969 kB / 0.5861 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.6673, allocations: 463.2 kB / 0.5865 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6673, allocations: 1.25 kB / 0.5865 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.668, allocations: 156 kB / 0.5867 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.668, allocations: 4 kB / 0.5867 GB, free: 35.52 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.668, allocations: 23.97 kB / 0.5867 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.668, allocations: 4 kB / 0.5867 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.668, allocations: 0 / 0.5867 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6691, allocations: 0.9676 MB / 0.5876 GB, free: 34.51 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.6693, allocations: 172.5 kB / 0.5878 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.6694, allocations: 19.98 kB / 0.5878 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6695, allocations: 12 kB / 0.5878 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.6696, allocations: 44.59 kB / 0.5879 GB, free: 34.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.6696, allocations: 23.98 kB / 0.5879 GB, free: 34.22 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.618e-05/0.6697, allocations: 113.5 kB / 0.588 GB, free: 34.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6697, allocations: 0 / 0.588 GB, free: 34.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003424/0.6701, allocations: 128 kB / 0.5881 GB, free: 33.99 MB / 462.3 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.6713, allocations: 1.522 MB / 0.5896 GB, free: 32.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.672, allocations: 0.5755 MB / 0.5902 GB, free: 31.87 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.672, allocations: 4 kB / 0.5902 GB, free: 31.86 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.6724, allocations: 331.5 kB / 0.5905 GB, free: 31.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.6728, allocations: 59.59 kB / 0.5906 GB, free: 31.49 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.6762, allocations: 3.357 MB / 0.5938 GB, free: 28.08 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.6764, allocations: 0.8089 MB / 0.5946 GB, free: 27.24 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.6768, allocations: 175.1 kB / 0.5948 GB, free: 27.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.677, allocations: 127.4 kB / 0.5949 GB, free: 26.95 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.677, allocations: 0 / 0.5949 GB, free: 26.95 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.6957, allocations: 8.259 MB / 0.603 GB, free: 18.91 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.696, allocations: 231.5 kB / 0.6032 GB, free: 18.67 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.828, allocations: 0 / 0.6032 GB, free: 18.67 MB / 462.3 MB (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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat