Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.603/1.603, allocations: 287.4 MB / 302.6 MB, free: 8.281 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.0009582/0.0009583, allocations: 191.6 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.266/1.266, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007935/0.0007935, allocations: 85.61 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 10.83 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001321/0.1744, allocations: 1.187 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1754, allocations: 0.7191 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.1755, allocations: 4 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1755, allocations: 7.922 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.1756, allocations: 3.938 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.176, allocations: 91.77 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.1761, allocations: 71.77 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.1762, allocations: 12 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.1763, allocations: 31.91 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.1763, allocations: 35.84 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1764, allocations: 0 / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1765, allocations: 87.91 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.1765, allocations: 11.91 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1766, allocations: 37.7 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1767, allocations: 100 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1767, allocations: 7.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1767, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1767, allocations: 0 / 0.9811 GB, free: 25.68 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.000443/0.1772, allocations: 401 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1772, allocations: 12.03 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.1773, allocations: 38.67 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.1773, allocations: 12.84 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.397e-05/0.1774, allocations: 176.2 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1774, allocations: 8.375 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1774, allocations: 4.375 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1776, allocations: 77.77 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1776, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1776, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1776, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1778, allocations: 47.92 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.1783, allocations: 316.8 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1784, allocations: 50.56 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.1785, allocations: 36.97 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1785, allocations: 3.984 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.1786, allocations: 87.38 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1787, allocations: 4 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003357/0.179, allocations: 141.8 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.179, allocations: 55.39 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.1791, allocations: 117.8 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1791, allocations: 29.7 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.1792, allocations: 108 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.1792, allocations: 7.906 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1792, allocations: 4 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.1792, allocations: 322.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.1793, allocations: 31.92 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.1794, allocations: 54.5 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1796, allocations: 82.59 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1796, allocations: 4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002007/0.1798, allocations: 121.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.1798, allocations: 4 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1798, allocations: 0 / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1798, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1799, allocations: 15.92 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1799, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.18, allocations: 11.91 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.18, allocations: 4.062 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 5.798e-05/0.1801, allocations: 129.7 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1801, allocations: 7.938 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.1801, allocations: 8.375 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1801, allocations: 0 / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1801, allocations: 0 / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1801, allocations: 0 / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.1805, allocations: 402.3 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1805, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.1805, allocations: 7.984 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1805, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1806, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1806, allocations: 3.938 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1806, allocations: 4 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1808, allocations: 215.4 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.1808, allocations: 85.09 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1808, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.1809, allocations: 7.938 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.181, allocations: 11.98 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.181, allocations: 3.938 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.181, allocations: 99.92 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.181, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000246/0.1813, allocations: 35.98 kB / 0.9843 GB, free: 21.98 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.0005632/0.1818, allocations: 0.8147 MB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1821, allocations: 76 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1821, allocations: 0 / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.1822, allocations: 43.92 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1824, allocations: 7.938 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.0008304/0.1832, allocations: 0.6182 MB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.736e-05/0.1834, allocations: 0.6887 MB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.1834, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1834, allocations: 15.42 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.1835, allocations: 0 / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.196, allocations: 2.331 MB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.1962, allocations: 244.7 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.912, allocations: 0 / 0.9891 GB, free: 17.14 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)