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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.957/1.957, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001651/0.001651, allocations: 184.5 kB / 376.9 MB, free: 1.793 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.799/1.799, allocations: 205 MB / 0.6353 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 98.25 kB / 0.7479 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009965/0.0009965, allocations: 47.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3011, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.004613/0.3058, allocations: 1.549 MB / 0.9837 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3075, allocations: 0.7645 MB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.3076, allocations: 0 / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.3077, allocations: 7.922 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.3078, allocations: 7.938 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.3087, allocations: 103.8 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3088, allocations: 71.78 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3089, allocations: 11.97 kB / 0.9847 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3091, allocations: 39.86 kB / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.3092, allocations: 35.84 kB / 0.9847 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.3092, allocations: 7.984 kB / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.3094, allocations: 75.92 kB / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.3095, allocations: 19.95 kB / 0.9848 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.3095, allocations: 35.8 kB / 0.9849 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.3098, allocations: 143.8 kB / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3098, allocations: 0 / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3098, allocations: 0 / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3098, allocations: 4 kB / 0.985 GB, free: 7.477 MB / 0.7136 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.000851/0.3107, allocations: 405 kB / 0.9854 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.3108, allocations: 12.03 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.3108, allocations: 8.844 kB / 0.9854 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.311, allocations: 188.1 kB / 0.9856 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.3111, allocations: 8.375 kB / 0.9856 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.3111, allocations: 4.375 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3113, allocations: 69.97 kB / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3114, allocations: 0 / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3114, allocations: 4 kB / 0.9857 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3114, allocations: 0 / 0.9857 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3115, allocations: 39.91 kB / 0.9857 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007164/0.3123, allocations: 320.7 kB / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3124, allocations: 46.55 kB / 0.9861 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.3125, allocations: 32.97 kB / 0.9861 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3125, allocations: 0 / 0.9861 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.3128, allocations: 83.31 kB / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3129, allocations: 0 / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004262/0.3133, allocations: 137.6 kB / 0.9863 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3133, allocations: 55.41 kB / 0.9864 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3135, allocations: 125.8 kB / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3135, allocations: 29.7 kB / 0.9865 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.3136, allocations: 88.14 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.3136, allocations: 19.75 kB / 0.9866 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.3137, allocations: 25.7 kB / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3138, allocations: 326.8 kB / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.3139, allocations: 27.92 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.314, allocations: 50.55 kB / 0.987 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3142, allocations: 70.56 kB / 0.9871 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3142, allocations: 0 / 0.9871 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002523/0.3144, allocations: 117.5 kB / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3145, allocations: 4 kB / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3145, allocations: 64 / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3145, allocations: 8 kB / 0.9872 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3146, allocations: 15.92 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.3146, allocations: 0 / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.3147, allocations: 4 kB / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3148, allocations: 8.375 kB / 0.9872 GB, free: 4.941 MB / 0.7136 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 0.0001126/0.3149, allocations: 125.8 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.3149, allocations: 7.906 kB / 0.9874 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.3149, allocations: 8.375 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3149, allocations: 0 / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.315, allocations: 4 kB / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.315, allocations: 0 / 0.9874 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.3155, allocations: 394.3 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3155, allocations: 0 / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.3156, allocations: 15.86 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3156, allocations: 0 / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3156, allocations: 0 / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3156, allocations: 4 kB / 0.9878 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3156, allocations: 3.938 kB / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.3163, allocations: 0.7902 MB / 0.9886 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.3163, allocations: 81.05 kB / 0.9886 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3164, allocations: 8 kB / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.3165, allocations: 11.92 kB / 0.9886 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.3165, allocations: 4 kB / 0.9887 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3166, allocations: 0 / 0.9887 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.121e-05/0.3166, allocations: 95.92 kB / 0.9887 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3166, allocations: 0 / 0.9887 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004751/0.3171, allocations: 43.89 kB / 0.9888 GB, free: 3.215 MB / 0.7136 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.0003988/0.3176, allocations: 160.7 kB / 0.9889 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3178, allocations: 67.91 kB / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3178, allocations: 0 / 0.989 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3179, allocations: 39.97 kB / 0.989 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3182, allocations: 7.875 kB / 0.989 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.3188, allocations: 329.6 kB / 0.9894 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3191, allocations: 0.6848 MB / 0.99 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.387e-05/0.3192, allocations: 11.98 kB / 0.99 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3192, allocations: 15.44 kB / 0.9901 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.3192, allocations: 0 / 0.9901 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of Templates: time 0.004232/0.3235, allocations: 1.396 MB / 0.9914 GB, free: 464 kB / 0.7136 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)