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.0009108/0.0009109, allocations: 95.3 kB / 16.65 MB, free: 6.535 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.001056/0.001057, allocations: 175.1 kB / 17.56 MB, free: 6.184 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.296/1.296, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8534/0.8534, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003181, allocations: 8 kB / 0.4963 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4444, allocations: 82.83 MB / 0.5772 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001027/0.4454, allocations: 1.102 MB / 0.5783 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.4461, allocations: 0.5073 MB / 0.5788 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.4461, allocations: 0 / 0.5788 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.169e-05/0.4462, allocations: 9.609 kB / 0.5788 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.4464, allocations: 49.77 kB / 0.5789 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.571e-05/0.4465, allocations: 32.72 kB / 0.5789 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.4468, allocations: 360.6 kB / 0.5792 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.4468, allocations: 9.672 kB / 0.5792 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.447, allocations: 111.1 kB / 0.5794 GB, free: 40.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.4472, allocations: 184.3 kB / 0.5795 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.4472, allocations: 15.12 kB / 0.5795 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.4473, allocations: 33.8 kB / 0.5796 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4474, allocations: 126 kB / 0.5797 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4476, allocations: 147.5 kB / 0.5798 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4478, allocations: 237.6 kB / 0.5801 GB, free: 39.62 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4478, allocations: 0 / 0.5801 GB, free: 39.62 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4478, allocations: 1.219 kB / 0.5801 GB, free: 39.62 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.4478, allocations: 0 / 0.5801 GB, free: 39.62 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.0008754/0.4487, allocations: 0.5687 MB / 0.5806 GB, free: 39.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4487, allocations: 10.19 kB / 0.5806 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.4488, allocations: 54.83 kB / 0.5807 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.4488, allocations: 24.94 kB / 0.5807 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.449, allocations: 262.6 kB / 0.581 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.449, allocations: 12.69 kB / 0.581 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.4491, allocations: 32.44 kB / 0.581 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.4495, allocations: 316.9 kB / 0.5813 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4496, allocations: 0 / 0.5813 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.4496, allocations: 5.875 kB / 0.5813 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4496, allocations: 5.5 kB / 0.5813 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.45, allocations: 287.3 kB / 0.5816 GB, free: 38.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.4505, allocations: 400.9 kB / 0.582 GB, free: 38.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.4521, allocations: 0.6875 MB / 0.5826 GB, free: 37.85 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.4524, allocations: 233.7 kB / 0.5829 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.4525, allocations: 94.38 kB / 0.583 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.4526, allocations: 45.5 kB / 0.583 GB, free: 37.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.4526, allocations: 0 / 0.583 GB, free: 37.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001009/0.4536, allocations: 0.692 MB / 0.5837 GB, free: 37.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.4536, allocations: 56.44 kB / 0.5837 GB, free: 37.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.4537, allocations: 154.7 kB / 0.5839 GB, free: 37.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4537, allocations: 34.95 kB / 0.5839 GB, free: 37.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.4538, allocations: 96.94 kB / 0.584 GB, free: 36.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.4539, allocations: 203.1 kB / 0.5842 GB, free: 36.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.454, allocations: 55.28 kB / 0.5842 GB, free: 36.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.454, allocations: 344.3 kB / 0.5846 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.4543, allocations: 237.2 kB / 0.5848 GB, free: 36.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.4547, allocations: 246.3 kB / 0.585 GB, free: 36.16 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.4554, allocations: 0.5274 MB / 0.5856 GB, free: 35.92 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4554, allocations: 5.344 kB / 0.5856 GB, free: 35.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000854/0.4563, allocations: 0.6465 MB / 0.5862 GB, free: 35.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4563, allocations: 9.094 kB / 0.5862 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4563, allocations: 5.453 kB / 0.5862 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4563, allocations: 2.656 kB / 0.5862 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.4569, allocations: 141.7 kB / 0.5863 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4569, allocations: 3.656 kB / 0.5863 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.4571, allocations: 38.19 kB / 0.5864 GB, free: 35.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.4572, allocations: 21.95 kB / 0.5864 GB, free: 35.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.4573, allocations: 166.2 kB / 0.5866 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.4573, allocations: 26 kB / 0.5866 GB, free: 35.37 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4584, allocations: 0.7229 MB / 0.5873 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4585, allocations: 10.84 kB / 0.5873 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4585, allocations: 0 / 0.5873 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.4585, allocations: 9.016 kB / 0.5873 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.4589, allocations: 458.7 kB / 0.5877 GB, free: 34.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4589, allocations: 4 kB / 0.5878 GB, free: 34.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.4596, allocations: 159.3 kB / 0.5879 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4597, allocations: 6.469 kB / 0.5879 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.4597, allocations: 26.08 kB / 0.5879 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4597, allocations: 6.469 kB / 0.5879 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4597, allocations: 1.281 kB / 0.5879 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4608, allocations: 0.9587 MB / 0.5889 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.461, allocations: 176.6 kB / 0.589 GB, free: 33.51 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.461, allocations: 20 kB / 0.5891 GB, free: 33.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4612, allocations: 15.98 kB / 0.5891 GB, free: 33.48 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.4613, allocations: 44.59 kB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.4613, allocations: 16 kB / 0.5891 GB, free: 33.42 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.4614, allocations: 113.5 kB / 0.5892 GB, free: 33.31 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4614, allocations: 0 / 0.5892 GB, free: 33.31 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003093/0.4617, allocations: 128 kB / 0.5894 GB, free: 33.18 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 (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.001238/0.4629, allocations: 1.546 MB / 0.5909 GB, free: 31.61 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006719/0.4636, allocations: 0.5794 MB / 0.5914 GB, free: 31.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4636, allocations: 0 / 0.5914 GB, free: 31.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.464, allocations: 327.6 kB / 0.5918 GB, free: 30.71 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4643, allocations: 63.97 kB / 0.5918 GB, free: 30.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.4684, allocations: 4.772 MB / 0.5965 GB, free: 25.8 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.4686, allocations: 0.8129 MB / 0.5973 GB, free: 24.96 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.4689, allocations: 179.1 kB / 0.5974 GB, free: 24.79 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.4691, allocations: 119.4 kB / 0.5976 GB, free: 24.67 MB / 462.3 MB Notification: Performance of SimCode: time 5.11e-07/0.4692, allocations: 0 / 0.5976 GB, free: 24.67 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3589/0.8281, allocations: 8.483 MB / 0.6058 GB, free: 16.4 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.8283, allocations: 248.6 kB / 0.6061 GB, free: 16.14 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.762, allocations: 0 / 0.6061 GB, free: 16.14 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/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)