Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.001582/0.001582, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.002517/0.002517, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.3/3.3, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.161/3.161, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 19.28 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4869, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003245/0.4902, allocations: 1.184 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.493, allocations: 0.7182 MB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.4931, allocations: 4 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.4932, allocations: 7.922 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.4933, allocations: 3.984 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.4942, allocations: 95.77 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.4944, allocations: 51.86 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.4946, allocations: 4 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.4947, allocations: 31.89 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.4949, allocations: 31.91 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.4949, allocations: 4 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.4953, allocations: 75.8 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.4953, allocations: 11.98 kB / 0.7894 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.4955, allocations: 41.64 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.4958, allocations: 100 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4958, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.218e-06/0.4958, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.4959, allocations: 4 kB / 0.7895 GB, free: 9.488 MB / 0.6075 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.001261/0.4971, allocations: 404.8 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.4972, allocations: 8.031 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.4973, allocations: 34.56 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.4974, allocations: 7.906 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.4976, allocations: 174.9 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.4977, allocations: 11.98 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.4978, allocations: 4 kB / 0.7901 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.4981, allocations: 69.59 kB / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4981, allocations: 0 / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.4982, allocations: 0 / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4982, allocations: 4 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.4984, allocations: 47.97 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4996, allocations: 320.7 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.4998, allocations: 58.48 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.4999, allocations: 4 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.5003, allocations: 75.5 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.5003, allocations: 4 kB / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007969/0.5011, allocations: 149.5 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.5012, allocations: 59.3 kB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5014, allocations: 117.8 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.5015, allocations: 25.7 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.5016, allocations: 104.3 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.5017, allocations: 11.8 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.5017, allocations: 4 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.502, allocations: 322.8 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.5021, allocations: 27.92 kB / 0.7915 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.5023, allocations: 50.56 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.5025, allocations: 35.98 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.5026, allocations: 0 / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005023/0.5031, allocations: 121.5 kB / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.5031, allocations: 8 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5032, allocations: 0 / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.5032, allocations: 0 / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.5034, allocations: 23.92 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.5034, allocations: 3.953 kB / 0.7917 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.5036, allocations: 8 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.5036, allocations: 7.984 kB / 0.7917 GB, free: 6.984 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.5038, allocations: 121.8 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.5039, allocations: 7.906 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.5039, allocations: 8.375 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.504, allocations: 4 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.504, allocations: 0 / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.504, allocations: 3.953 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.5049, allocations: 390.8 kB / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5049, allocations: 0 / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.505, allocations: 7.984 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.505, allocations: 4 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.505, allocations: 0 / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.5051, allocations: 3.953 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5051, allocations: 0 / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.5056, allocations: 219.3 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.5057, allocations: 85.02 kB / 0.7926 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.5058, allocations: 4 kB / 0.7926 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.506, allocations: 4 kB / 0.7926 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.5061, allocations: 11.94 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.5061, allocations: 0 / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001075/0.5062, allocations: 95.92 kB / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5062, allocations: 0 / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006301/0.5069, allocations: 39.98 kB / 0.7927 GB, free: 5.895 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/0.5085, allocations: 0.8191 MB / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.5089, allocations: 71.95 kB / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5089, allocations: 0 / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.5091, allocations: 44.05 kB / 0.7936 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5094, allocations: 18.38 kB / 0.7936 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.5108, allocations: 0.7149 MB / 0.7943 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5113, allocations: 0.6926 MB / 0.795 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.821e-05/0.5114, allocations: 12.12 kB / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.5115, allocations: 19.42 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of SimCode: time 9.81e-07/0.5116, allocations: 0 / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.5376, allocations: 2.32 MB / 0.7973 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004252/0.5381, allocations: 247 kB / 0.7975 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/3.783, allocations: 7.062 kB / 0.7975 GB, free: 0.9766 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) Environment - environmentSimulation: