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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001999/0.001999, allocations: 197.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.734 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 1.699/1.699, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001297/0.001297, allocations: 60.59 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2098, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002717/0.2126, allocations: 1.546 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2139, allocations: 0.7683 MB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.2139, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.214, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.998e-05/0.214, allocations: 23.84 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2145, allocations: 99.83 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.983e-05/0.2146, allocations: 75.72 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.2147, allocations: 4 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2148, allocations: 31.91 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.2148, allocations: 35.83 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2149, allocations: 4 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.2151, allocations: 99.84 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.2151, allocations: 7.984 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.2151, allocations: 35.84 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2154, allocations: 139.9 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2154, allocations: 0 / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2154, allocations: 3.938 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2154, allocations: 0 / 0.7855 GB, free: 11.12 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.0007343/0.2161, allocations: 417 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2162, allocations: 8.031 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.2162, allocations: 12.84 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2164, allocations: 176.2 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2165, allocations: 12.36 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.2165, allocations: 4.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2167, allocations: 65.97 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2167, allocations: 0 / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2167, allocations: 4 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2167, allocations: 0 / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2169, allocations: 43.97 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.2177, allocations: 312.7 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2178, allocations: 50.56 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.2179, allocations: 36.97 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.218, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.2182, allocations: 75.28 kB / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2183, allocations: 0 / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004531/0.2187, allocations: 141.6 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.2188, allocations: 55.41 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2189, allocations: 121.8 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.2189, allocations: 29.7 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.219, allocations: 92.2 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.2191, allocations: 19.73 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.2191, allocations: 29.7 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2193, allocations: 326.8 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.2194, allocations: 27.92 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.2195, allocations: 51 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2196, allocations: 70.48 kB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2197, allocations: 4 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002459/0.2199, allocations: 109.9 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2199, allocations: 12 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.22, allocations: 0 / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.22, allocations: 0 / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2201, allocations: 19.92 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2201, allocations: 4.078 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.2202, allocations: 4 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2202, allocations: 3.984 kB / 0.7877 GB, free: 8.578 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 9.901e-05/0.2203, allocations: 130.8 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.2203, allocations: 7.906 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.2204, allocations: 8.375 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2204, allocations: 3.938 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2204, allocations: 0 / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2204, allocations: 0 / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.2209, allocations: 386.3 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2209, allocations: 7.984 kB / 0.7882 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.2209, allocations: 3.984 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2209, allocations: 8 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.221, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.221, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.221, allocations: 3.938 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.2213, allocations: 215.3 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2213, allocations: 81.02 kB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.2214, allocations: 0 / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.2215, allocations: 8 kB / 0.7885 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.2215, allocations: 11.92 kB / 0.7885 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2215, allocations: 3.938 kB / 0.7885 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.2216, allocations: 99.42 kB / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2216, allocations: 0 / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000312/0.2219, allocations: 39.98 kB / 0.7887 GB, free: 7.48 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 (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.0003301/0.2222, allocations: 163.6 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.2225, allocations: 71.89 kB / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2225, allocations: 0 / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.2226, allocations: 35.98 kB / 0.7889 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.2229, allocations: 4.312 kB / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.2233, allocations: 202.8 kB / 0.7891 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2236, allocations: 0.6926 MB / 0.7898 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.2236, allocations: 7.984 kB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.2237, allocations: 15.44 kB / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2237, allocations: 0 / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.003803/0.2275, allocations: 1.367 MB / 0.7912 GB, free: 4.898 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (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 & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)