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.001243/0.001243, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001397/0.001397, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.269/1.269, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7571/0.7571, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.4924 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.392, allocations: 80.69 MB / 0.5712 GB, free: 43.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001903/0.3939, allocations: 1.377 MB / 0.5726 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006426/0.3946, allocations: 0.5167 MB / 0.5731 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.3946, allocations: 0.8438 kB / 0.5731 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/0.3947, allocations: 8.891 kB / 0.5731 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.3949, allocations: 55.09 kB / 0.5731 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.648e-05/0.395, allocations: 37.25 kB / 0.5732 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.3952, allocations: 320.4 kB / 0.5735 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.3953, allocations: 10.16 kB / 0.5735 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3954, allocations: 112.2 kB / 0.5736 GB, free: 42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3956, allocations: 163.1 kB / 0.5737 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.3956, allocations: 16 kB / 0.5737 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3958, allocations: 42.52 kB / 0.5738 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3959, allocations: 121.1 kB / 0.5739 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.396, allocations: 122.8 kB / 0.574 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.3962, allocations: 243.5 kB / 0.5743 GB, free: 41.6 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3962, allocations: 4 kB / 0.5743 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3962, allocations: 0 / 0.5743 GB, free: 41.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3962, allocations: 5.5 kB / 0.5743 GB, free: 41.59 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.0008891/0.3971, allocations: 0.5789 MB / 0.5748 GB, free: 41.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3972, allocations: 14.33 kB / 0.5748 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.3972, allocations: 55.33 kB / 0.5749 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.3973, allocations: 33.02 kB / 0.5749 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3975, allocations: 243.2 kB / 0.5752 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3975, allocations: 21 kB / 0.5752 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.3976, allocations: 28.88 kB / 0.5752 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.398, allocations: 317.3 kB / 0.5755 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.398, allocations: 0 / 0.5755 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.398, allocations: 10.16 kB / 0.5755 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.398, allocations: 4.812 kB / 0.5755 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.3984, allocations: 292 kB / 0.5758 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.3988, allocations: 396.8 kB / 0.5762 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.4003, allocations: 0.69 MB / 0.5769 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.4006, allocations: 233.8 kB / 0.5771 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.4007, allocations: 99.14 kB / 0.5772 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4007, allocations: 32.38 kB / 0.5772 GB, free: 39.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.613e-06/0.4008, allocations: 1.375 kB / 0.5772 GB, free: 39.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001003/0.4018, allocations: 0.6906 MB / 0.5779 GB, free: 39.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.4018, allocations: 57.38 kB / 0.5779 GB, free: 39.15 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.4019, allocations: 157.2 kB / 0.5781 GB, free: 39.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4019, allocations: 31.55 kB / 0.5781 GB, free: 38.97 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.402, allocations: 104.8 kB / 0.5782 GB, free: 38.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.4021, allocations: 202.8 kB / 0.5784 GB, free: 38.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4022, allocations: 110.3 kB / 0.5785 GB, free: 38.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.4023, allocations: 344 kB / 0.5788 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.4026, allocations: 233 kB / 0.5791 GB, free: 38.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.4029, allocations: 252.9 kB / 0.5793 GB, free: 38.08 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.4035, allocations: 0.5289 MB / 0.5798 GB, free: 37.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4035, allocations: 0 / 0.5798 GB, free: 37.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008128/0.4044, allocations: 0.6433 MB / 0.5804 GB, free: 37.53 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4044, allocations: 5.062 kB / 0.5805 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4044, allocations: 1.25 kB / 0.5805 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4044, allocations: 2.531 kB / 0.5805 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.4049, allocations: 142.2 kB / 0.5806 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4049, allocations: 3.781 kB / 0.5806 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.4051, allocations: 41.84 kB / 0.5806 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.4052, allocations: 23.11 kB / 0.5807 GB, free: 37.45 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.0001132/0.4053, allocations: 165.9 kB / 0.5808 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.4053, allocations: 28.25 kB / 0.5808 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.4064, allocations: 0.7236 MB / 0.5815 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4064, allocations: 11.53 kB / 0.5816 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4064, allocations: 0 / 0.5816 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4064, allocations: 3.984 kB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.4068, allocations: 467.1 kB / 0.582 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4068, allocations: 8.828 kB / 0.582 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/0.4075, allocations: 158.4 kB / 0.5822 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.4075, allocations: 6.562 kB / 0.5822 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.4075, allocations: 22.55 kB / 0.5822 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4076, allocations: 6.281 kB / 0.5822 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4076, allocations: 5.453 kB / 0.5822 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4087, allocations: 0.9541 MB / 0.5831 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.4089, allocations: 178.6 kB / 0.5833 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.4089, allocations: 24.08 kB / 0.5833 GB, free: 35.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4091, allocations: 10.31 kB / 0.5833 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.4092, allocations: 42.19 kB / 0.5834 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.4092, allocations: 18.69 kB / 0.5834 GB, free: 35.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.732e-05/0.4093, allocations: 113.1 kB / 0.5835 GB, free: 35.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4093, allocations: 0 / 0.5835 GB, free: 35.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000313/0.4096, allocations: 122.6 kB / 0.5836 GB, free: 35.69 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.0013/0.4109, allocations: 1.542 MB / 0.5851 GB, free: 34.65 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4119, allocations: 0.8348 MB / 0.5859 GB, free: 34.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4119, allocations: 3.938 kB / 0.5859 GB, free: 34.01 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.4122, allocations: 331.6 kB / 0.5863 GB, free: 33.69 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4125, allocations: 55.97 kB / 0.5863 GB, free: 33.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4163, allocations: 4.487 MB / 0.5907 GB, free: 29.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.4165, allocations: 0.809 MB / 0.5915 GB, free: 28.23 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.4168, allocations: 183.1 kB / 0.5917 GB, free: 28.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.417, allocations: 119.3 kB / 0.5918 GB, free: 27.94 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.417, allocations: 0 / 0.5918 GB, free: 27.94 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.604/2.021, allocations: 9.035 MB / 0.6006 GB, free: 19.08 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/10.05, allocations: 10.88 kB / 0.6006 GB, free: 19.07 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)