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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009554, allocations: 99.78 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.086/1.086, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.478e-05, allocations: 4 kB / 0.5368 GB, free: 11.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8116, allocations: 82.83 MB / 0.6177 GB, free: 9.293 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.966, allocations: 125.8 MB / 0.7405 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.9662, allocations: 67.83 kB / 0.7406 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6005/1.567, allocations: 12.46 MB / 0.7528 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.312e-06/1.567, allocations: 0 / 0.7528 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 2.607e-05/1.567, allocations: 14.69 kB / 0.7528 GB, free: 128.8 MB / 0.5421 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.00354/1.57, allocations: 1.535 MB / 0.7543 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.57, allocations: 9.531 kB / 0.7543 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/1.571, allocations: 133.4 kB / 0.7544 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/1.571, allocations: 86.3 kB / 0.7545 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/1.573, allocations: 0.9087 MB / 0.7554 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/1.573, allocations: 57.62 kB / 0.7555 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/1.573, allocations: 115.8 kB / 0.7556 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/1.575, allocations: 1.113 MB / 0.7567 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.575, allocations: 1.031 kB / 0.7567 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.575, allocations: 34.39 kB / 0.7567 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/1.575, allocations: 24.52 kB / 0.7567 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/1.577, allocations: 1.233 MB / 0.7579 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/1.579, allocations: 1.085 MB / 0.759 GB, free: 127 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006718/1.586, allocations: 2.737 MB / 0.7617 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.587, allocations: 0.8586 MB / 0.7625 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/1.587, allocations: 126.6 kB / 0.7626 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.587, allocations: 52.06 kB / 0.7627 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=203): time 4.839e-06/1.587, allocations: 0 / 0.7627 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=203): time 0.002538/1.59, allocations: 1.87 MB / 0.7645 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.59, allocations: 80.58 kB / 0.7646 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/1.59, allocations: 200.9 kB / 0.7648 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.792e-05/1.59, allocations: 57.23 kB / 0.7648 GB, free: 125 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/1.59, allocations: 135.2 kB / 0.7649 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/1.59, allocations: 0.7782 MB / 0.7657 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/1.591, allocations: 43.62 kB / 0.7657 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/1.591, allocations: 414.9 kB / 0.7661 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.592, allocations: 0.9304 MB / 0.767 GB, free: 123.6 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.593, allocations: 0.9582 MB / 0.768 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/1.594, allocations: 1.109 MB / 0.7691 GB, free: 122.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.594, allocations: 0 / 0.7691 GB, free: 122.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003051/1.597, allocations: 2.463 MB / 0.7715 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.598, allocations: 8 kB / 0.7715 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.598, allocations: 0 / 0.7715 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.598, allocations: 8 kB / 0.7715 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/1.601, allocations: 0.5476 MB / 0.772 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/1.601, allocations: 12 kB / 0.772 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/1.602, allocations: 153 kB / 0.7722 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.603, allocations: 79.22 kB / 0.7722 GB, free: 119.8 MB / 0.5421 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002635/1.603, allocations: 204.4 kB / 0.7724 GB, free: 119.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.603, allocations: 83.06 kB / 0.7725 GB, free: 119.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/1.607, allocations: 2.684 MB / 0.7751 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.607, allocations: 28 kB / 0.7752 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.607, allocations: 0 / 0.7752 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/1.607, allocations: 14.06 kB / 0.7752 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/1.608, allocations: 1.338 MB / 0.7765 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.608, allocations: 0.75 kB / 0.7765 GB, free: 116.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004579/1.613, allocations: 0.614 MB / 0.7771 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-05/1.613, allocations: 8 kB / 0.7771 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/1.613, allocations: 95.92 kB / 0.7772 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.613, allocations: 12 kB / 0.7772 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.613, allocations: 11.38 kB / 0.7772 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/1.618, allocations: 3.535 MB / 0.7807 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007827/1.618, allocations: 422.8 kB / 0.7811 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/1.619, allocations: 79.89 kB / 0.7811 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/1.619, allocations: 44 kB / 0.7812 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.62, allocations: 162 kB / 0.7813 GB, free: 111.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.62, allocations: 87.97 kB / 0.7814 GB, free: 111.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000111/1.62, allocations: 169.3 kB / 0.7816 GB, free: 110.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.61e-07/1.62, allocations: 0 / 0.7816 GB, free: 110.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007392/1.621, allocations: 455.9 kB / 0.782 GB, free: 110.5 MB / 0.5421 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 () * 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 (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.004566/1.625, allocations: 4.212 MB / 0.7861 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002977/1.628, allocations: 2.259 MB / 0.7883 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.628, allocations: 0 / 0.7883 GB, free: 103.9 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.63, allocations: 1.231 MB / 0.7895 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/1.63, allocations: 161.1 kB / 0.7897 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/1.637, allocations: 6.169 MB / 0.7957 GB, free: 96.32 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.637, allocations: 1.179 MB / 0.7969 GB, free: 95.11 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001639/1.639, allocations: 0.7435 MB / 0.7976 GB, free: 94.36 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007542/1.64, allocations: 480.7 kB / 0.7981 GB, free: 93.89 MB / 0.5421 GB Notification: Performance of SimCode: time 7.21e-07/1.64, allocations: 0 / 0.7981 GB, free: 93.89 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/1.682, allocations: 28.85 MB / 0.8262 GB, free: 65.26 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.682, allocations: 184.5 kB / 0.8264 GB, free: 65.04 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/4.488, allocations: 0 / 0.8264 GB, free: 65.04 MB / 0.5421 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat does not exist to compare? outputFormat=mat