Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.305/2.305, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001756/0.001756, allocations: 181.2 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.103/3.103, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 85.98 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006565/0.0006566, allocations: 9.406 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4785, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00292/0.4815, allocations: 1.207 MB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.4839, allocations: 0.7641 MB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.484, allocations: 4 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.484, allocations: 0 / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.4842, allocations: 11.86 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009384/0.4851, allocations: 111.8 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.4853, allocations: 71.78 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.4855, allocations: 4 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.4857, allocations: 35.89 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.4858, allocations: 35.84 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4859, allocations: 0 / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.4862, allocations: 95.84 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.4863, allocations: 15.92 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.4864, allocations: 57.55 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.4868, allocations: 131.7 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4868, allocations: 0 / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.035e-06/0.4868, allocations: 0 / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4868, allocations: 0 / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009957/0.4878, allocations: 409.3 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 9.122e-05/0.488, allocations: 12.03 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.488, allocations: 38.75 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.4881, allocations: 8.844 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.4883, allocations: 172.2 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.4884, allocations: 8.359 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.4884, allocations: 4.375 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.4888, allocations: 73.78 kB / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4888, allocations: 0 / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.4888, allocations: 3.984 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4889, allocations: 4 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.4891, allocations: 47.91 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.4901, allocations: 324.7 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4903, allocations: 46.56 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.4905, allocations: 40.91 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.4905, allocations: 3.938 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.4908, allocations: 87.31 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.454e-06/0.4909, allocations: 0 / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007286/0.4916, allocations: 141.7 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4917, allocations: 63.39 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4918, allocations: 121.8 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.4919, allocations: 29.7 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.492, allocations: 88.12 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.492, allocations: 19.75 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.4921, allocations: 0 / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4922, allocations: 326.8 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4924, allocations: 31.98 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4926, allocations: 50.5 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.4929, allocations: 78.55 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4929, allocations: 0 / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003964/0.4933, allocations: 121.5 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4933, allocations: 4 kB / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4934, allocations: 0 / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.4934, allocations: 4 kB / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.4936, allocations: 19.98 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.4936, allocations: 400 / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4937, allocations: 8 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.4937, allocations: 3.984 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001248/0.4939, allocations: 125.8 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.4939, allocations: 3.906 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.494, allocations: 8.375 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.494, allocations: 3.938 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.494, allocations: 4 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.494, allocations: 4 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.4947, allocations: 394.4 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4947, allocations: 0 / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.4948, allocations: 7.984 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4948, allocations: 4 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4948, allocations: 0 / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4949, allocations: 7.938 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4949, allocations: 0 / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.4953, allocations: 223.3 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.4954, allocations: 84.95 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.4954, allocations: 4 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4956, allocations: 7.938 kB / 0.9065 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.4957, allocations: 7.984 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4957, allocations: 7.938 kB / 0.9065 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.4958, allocations: 99.86 kB / 0.9066 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4958, allocations: 0 / 0.9066 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005715/0.4964, allocations: 39.98 kB / 0.9067 GB, free: 57.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001275/0.4977, allocations: 0.7982 MB / 0.9074 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.4981, allocations: 75.95 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4981, allocations: 0 / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.4983, allocations: 43.92 kB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.4988, allocations: 11.92 kB / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.5012, allocations: 1.536 MB / 0.9091 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5014, allocations: 0.6908 MB / 0.9097 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.5015, allocations: 3.984 kB / 0.9098 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.5016, allocations: 27.38 kB / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.5016, allocations: 0 / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.525, allocations: 2.344 MB / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004045/0.5255, allocations: 280.9 kB / 0.9123 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.356, allocations: 1.719 kB / 0.9123 GB, free: 51.61 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)