Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.7/1.7, allocations: 287.4 MB / 302.6 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 172.4 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007956/0.0007955, allocations: 84.98 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.0005418, allocations: 10.38 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1805, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001281/0.1818, allocations: 1.191 MB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.1827, allocations: 0.7151 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.1828, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1828, allocations: 3.938 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.1829, allocations: 11.94 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1833, allocations: 95.75 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.291e-05/0.1834, allocations: 63.78 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.1835, allocations: 15.98 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.1836, allocations: 27.91 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.1837, allocations: 35.89 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1837, allocations: 8 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1838, allocations: 79.86 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.1839, allocations: 19.91 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.1839, allocations: 33.7 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.184, allocations: 96.05 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.184, allocations: 4 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1841, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1841, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 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.0004639/0.1845, allocations: 413 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1846, allocations: 8.031 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.1846, allocations: 34.75 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1846, allocations: 8.844 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.705e-05/0.1847, allocations: 188.1 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1847, allocations: 384 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1848, allocations: 4.375 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1849, allocations: 73.78 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1849, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.185, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.185, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1851, allocations: 39.97 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.1856, allocations: 324.7 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1857, allocations: 46.56 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.1858, allocations: 40.94 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1858, allocations: 4.078 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.186, allocations: 83.36 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.186, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003248/0.1863, allocations: 149.5 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.1863, allocations: 55.41 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.1864, allocations: 117.8 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1864, allocations: 33.7 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1865, allocations: 95.98 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.1865, allocations: 11.91 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.1865, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.1865, allocations: 326.8 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.1866, allocations: 31.98 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.1867, allocations: 58.47 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1868, allocations: 78.5 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1869, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002025/0.1871, allocations: 117.5 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1871, allocations: 8 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1871, allocations: 0 / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1871, allocations: 4.062 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.1872, allocations: 23.92 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1872, allocations: 0 / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.1873, allocations: 11.89 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1873, allocations: 4 kB / 0.9834 GB, free: 23.08 MB / 0.6198 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 6.071e-05/0.1874, allocations: 121.7 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.1874, allocations: 4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.1874, allocations: 12.38 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1874, allocations: 4 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1874, allocations: 0 / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1875, allocations: 3.984 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.1878, allocations: 386.3 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1878, allocations: 3.984 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.1878, allocations: 11.94 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1879, allocations: 4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1879, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1879, allocations: 3.938 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1879, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1881, allocations: 227.8 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.1881, allocations: 81.11 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1882, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.1883, allocations: 11.92 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1883, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1883, allocations: 3.984 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.1883, allocations: 91.88 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1883, allocations: 0 / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002478/0.1886, allocations: 39.98 kB / 0.9843 GB, free: 21.99 MB / 0.6198 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.0005244/0.1891, allocations: 0.8138 MB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1893, allocations: 71.91 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1893, allocations: 3.938 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.1894, allocations: 39.92 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1897, allocations: 20.05 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.1905, allocations: 0.6082 MB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.014e-05/0.1906, allocations: 0.6848 MB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.1906, allocations: 11.98 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1906, allocations: 15.44 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.1907, allocations: 0 / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.2022, allocations: 2.333 MB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.2024, allocations: 259.9 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.669, allocations: 0 / 0.9891 GB, free: 17.14 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)