Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.0009976/0.0009977, allocations: 88.81 kB / 16.65 MB, free: 6.289 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.001253/0.001253, allocations: 181.4 kB / 17.56 MB, free: 5.91 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.194/1.194, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7481/0.7481, allocations: 120.5 MB / 413.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 7.984 kB / 0.4963 GB, free: 9.934 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4213, allocations: 82.83 MB / 0.5772 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001005/0.4223, allocations: 1.102 MB / 0.5783 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006471/0.423, allocations: 0.5112 MB / 0.5788 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.423, allocations: 0 / 0.5788 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.058e-05/0.4231, allocations: 5.312 kB / 0.5788 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.4233, allocations: 50.92 kB / 0.5789 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.386e-05/0.4234, allocations: 32.16 kB / 0.5789 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.4236, allocations: 248.2 kB / 0.5791 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.4236, allocations: 4.312 kB / 0.5791 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.4237, allocations: 71.75 kB / 0.5792 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.4239, allocations: 109 kB / 0.5793 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.424, allocations: 6.875 kB / 0.5793 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.424, allocations: 35.22 kB / 0.5793 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.4241, allocations: 66.06 kB / 0.5794 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.4242, allocations: 97.02 kB / 0.5795 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.4244, allocations: 141.7 kB / 0.5796 GB, free: 40.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4244, allocations: 0 / 0.5796 GB, free: 40.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4244, allocations: 0.9375 kB / 0.5796 GB, free: 40.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.4244, allocations: 0 / 0.5796 GB, free: 40.63 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005864/0.425, allocations: 454.2 kB / 0.5801 GB, free: 40.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.425, allocations: 9.656 kB / 0.5801 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.4251, allocations: 43.34 kB / 0.5801 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.4251, allocations: 16.16 kB / 0.5801 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4253, allocations: 221 kB / 0.5803 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4253, allocations: 8.828 kB / 0.5804 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.4253, allocations: 25.06 kB / 0.5804 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.4256, allocations: 171.7 kB / 0.5805 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4256, allocations: 0.9062 kB / 0.5805 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4256, allocations: 4.938 kB / 0.5805 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4256, allocations: 6.688 kB / 0.5806 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.4258, allocations: 152.5 kB / 0.5807 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.4261, allocations: 283.8 kB / 0.581 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.4269, allocations: 357.3 kB / 0.5813 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4271, allocations: 119.9 kB / 0.5814 GB, free: 39.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.4272, allocations: 90.09 kB / 0.5815 GB, free: 39.13 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.4273, allocations: 34.56 kB / 0.5815 GB, free: 39.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.4273, allocations: 4 kB / 0.5815 GB, free: 39.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005423/0.4278, allocations: 381 kB / 0.5819 GB, free: 38.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.4278, allocations: 53.94 kB / 0.582 GB, free: 38.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.4279, allocations: 134.6 kB / 0.5821 GB, free: 38.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.4279, allocations: 30.98 kB / 0.5821 GB, free: 38.69 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.428, allocations: 95.19 kB / 0.5822 GB, free: 38.6 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.428, allocations: 104.4 kB / 0.5823 GB, free: 38.51 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.4281, allocations: 30.52 kB / 0.5823 GB, free: 38.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.4281, allocations: 341.1 kB / 0.5827 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4283, allocations: 123.5 kB / 0.5828 GB, free: 38.09 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.4285, allocations: 123.7 kB / 0.5829 GB, free: 38.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.4288, allocations: 277.4 kB / 0.5832 GB, free: 37.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4288, allocations: 0 / 0.5832 GB, free: 37.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004591/0.4293, allocations: 358.9 kB / 0.5835 GB, free: 37.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4293, allocations: 9.469 kB / 0.5835 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4293, allocations: 0 / 0.5835 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4294, allocations: 1.844 kB / 0.5835 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.4297, allocations: 75.03 kB / 0.5836 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4297, allocations: 5.812 kB / 0.5836 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4298, allocations: 27.36 kB / 0.5836 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4298, allocations: 15.34 kB / 0.5836 GB, free: 37.68 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 (39): * Single equations (assignments): 39 * 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 9.029e-05/0.4299, allocations: 137.7 kB / 0.5838 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4299, allocations: 19.17 kB / 0.5838 GB, free: 37.54 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.4306, allocations: 402.8 kB / 0.5842 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4306, allocations: 3.125 kB / 0.5842 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4306, allocations: 0.9688 kB / 0.5842 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4306, allocations: 3.984 kB / 0.5842 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4308, allocations: 314.1 kB / 0.5845 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4308, allocations: 0 / 0.5845 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.4312, allocations: 87.83 kB / 0.5846 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4312, allocations: 5.219 kB / 0.5846 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.4313, allocations: 14.11 kB / 0.5846 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4313, allocations: 1.188 kB / 0.5846 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4313, allocations: 1.312 kB / 0.5846 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.4319, allocations: 0.5297 MB / 0.5851 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.432, allocations: 120 kB / 0.5852 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.4321, allocations: 9.219 kB / 0.5852 GB, free: 36.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4322, allocations: 9.031 kB / 0.5852 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4322, allocations: 23.44 kB / 0.5853 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.4322, allocations: 16.33 kB / 0.5853 GB, free: 36.55 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.4323, allocations: 104.1 kB / 0.5854 GB, free: 36.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4323, allocations: 0 / 0.5854 GB, free: 36.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002681/0.4326, allocations: 73 kB / 0.5854 GB, free: 36.45 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0008012/0.4334, allocations: 1.086 MB / 0.5865 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.4338, allocations: 301.2 kB / 0.5868 GB, free: 35.51 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4338, allocations: 1.281 kB / 0.5868 GB, free: 35.51 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.434, allocations: 164.8 kB / 0.5869 GB, free: 35.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.4343, allocations: 28.61 kB / 0.587 GB, free: 35.43 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.4368, allocations: 3.03 MB / 0.5899 GB, free: 32.6 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.4369, allocations: 0.7452 MB / 0.5907 GB, free: 31.83 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.4371, allocations: 97.83 kB / 0.5908 GB, free: 31.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.4372, allocations: 67.36 kB / 0.5908 GB, free: 31.67 MB / 462.3 MB Notification: Performance of SimCode: time 3.91e-07/0.4372, allocations: 0 / 0.5908 GB, free: 31.67 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5778/1.015, allocations: 5.042 MB / 0.5957 GB, free: 26.81 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/1.015, allocations: 253.9 kB / 0.596 GB, free: 26.54 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.838, allocations: 0 / 0.596 GB, free: 26.54 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1)