Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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 1.99/1.99, allocations: 252 MB / 267.3 MB, free: 10.84 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.00138/0.00138, allocations: 179.2 kB / 327 MB, free: 2.105 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.07/3.07, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001102/0.001101, allocations: 91.33 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008127/0.0008127, allocations: 13.33 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4577, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002495/0.4603, allocations: 1.207 MB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.4622, allocations: 0.7681 MB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.4623, allocations: 0 / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.4624, allocations: 0 / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.4625, allocations: 11.88 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.4633, allocations: 107.8 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.4634, allocations: 67.78 kB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4636, allocations: 12 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.4637, allocations: 35.89 kB / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.4638, allocations: 35.84 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4639, allocations: 0 / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.4641, allocations: 95.84 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.4642, allocations: 15.91 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.4643, allocations: 53.56 kB / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.4646, allocations: 131.7 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4646, allocations: 4 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4646, allocations: 0 / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.4646, allocations: 0 / 0.9034 GB, free: 60.88 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.0008124/0.4654, allocations: 411.9 kB / 0.9038 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.4655, allocations: 12.03 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.4656, allocations: 34.75 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.4656, allocations: 8.844 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4658, allocations: 184.2 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.4658, allocations: 4.375 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4659, allocations: 384 / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.4661, allocations: 85.75 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4662, allocations: 0 / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4662, allocations: 3.938 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4662, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.4664, allocations: 51.91 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.4672, allocations: 316.7 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.4674, allocations: 50.56 kB / 0.9045 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.4675, allocations: 36.97 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.4675, allocations: 3.938 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.4678, allocations: 83.31 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.4678, allocations: 4 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005316/0.4683, allocations: 145.7 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4684, allocations: 51.41 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4685, allocations: 125.8 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4686, allocations: 29.7 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.4686, allocations: 92.12 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.4687, allocations: 19.75 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.4687, allocations: 0 / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4688, allocations: 326.8 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4689, allocations: 27.98 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.4691, allocations: 58.48 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.4693, allocations: 70.88 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4693, allocations: 0 / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002988/0.4696, allocations: 133.5 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4696, allocations: 4 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4696, allocations: 0 / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.4697, allocations: 4 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4698, allocations: 15.92 kB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.4698, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.4699, allocations: 12.06 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.4699, allocations: 3.984 kB / 0.9057 GB, free: 58.27 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.0001232/0.4701, allocations: 123.8 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.4701, allocations: 7.906 kB / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.4702, allocations: 8.375 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4702, allocations: 3.938 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4702, allocations: 0 / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4702, allocations: 0 / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.4707, allocations: 390.4 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4707, allocations: 0 / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.4708, allocations: 7.984 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4708, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4708, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4708, allocations: 3.938 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4709, allocations: 4 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.4712, allocations: 227.3 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.4713, allocations: 92.95 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4713, allocations: 0 / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4715, allocations: 7.938 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.4715, allocations: 11.98 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4716, allocations: 4 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.4716, allocations: 95.27 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4716, allocations: 0 / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004714/0.4721, allocations: 35.98 kB / 0.9067 GB, free: 57.16 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.001029/0.4731, allocations: 0.8045 MB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.4735, allocations: 80.31 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4735, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.4737, allocations: 44.08 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.4741, allocations: 13.95 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4761, allocations: 1.54 MB / 0.9091 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4763, allocations: 0.6887 MB / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.601e-05/0.4764, allocations: 3.984 kB / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.4765, allocations: 19.44 kB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.4765, allocations: 0 / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.4965, allocations: 2.346 MB / 0.9121 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.4969, allocations: 279.8 kB / 0.9123 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.179, allocations: 7.938 kB / 0.9123 GB, free: 51.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)