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.001173/0.001173, allocations: 99.86 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.0013/0.0013, 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 1.594/1.594, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.675/1.675, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005641/0.0005642, allocations: 12.81 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2976, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002135/0.2999, allocations: 1.177 MB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3012, allocations: 0.7221 MB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.3013, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.3013, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.3014, allocations: 19.91 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3019, allocations: 91.75 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.302, allocations: 47.88 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3021, allocations: 8 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.3022, allocations: 31.91 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.3023, allocations: 31.89 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3023, allocations: 4 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3025, allocations: 75.81 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.3025, allocations: 11.92 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.3026, allocations: 41.62 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.3028, allocations: 100 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3028, allocations: 0 / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3028, allocations: 0 / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3028, allocations: 4 kB / 0.7894 GB, free: 9.605 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.0006847/0.3035, allocations: 404.9 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3036, allocations: 8.031 kB / 0.7898 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.3036, allocations: 11.89 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3038, allocations: 174.9 kB / 0.79 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.3038, allocations: 7.938 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3039, allocations: 4 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3041, allocations: 69.66 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3041, allocations: 4 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3041, allocations: 3.938 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3041, allocations: 0 / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3043, allocations: 43.97 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.305, allocations: 324.7 kB / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3051, allocations: 54.55 kB / 0.7905 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3051, allocations: 4 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3054, allocations: 79.44 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.3054, allocations: 0 / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004069/0.3058, allocations: 153.7 kB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3059, allocations: 55.36 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.306, allocations: 125.7 kB / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.306, allocations: 25.7 kB / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.3061, allocations: 92.33 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3061, allocations: 15.75 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.3061, allocations: 4 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3063, allocations: 318.8 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.3064, allocations: 35.92 kB / 0.7913 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.3065, allocations: 50.55 kB / 0.7914 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.3066, allocations: 35.98 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3066, allocations: 4 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.3068, allocations: 109.5 kB / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3068, allocations: 7.984 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3068, allocations: 0 / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3069, allocations: 7.938 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.307, allocations: 8 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.307, allocations: 4.062 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.3071, allocations: 19.94 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3071, allocations: 3.938 kB / 0.7916 GB, free: 7.148 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 9.873e-05/0.3072, allocations: 121.8 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.3072, allocations: 3.906 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3072, allocations: 16.36 kB / 0.7917 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3073, allocations: 0 / 0.7917 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3073, allocations: 4 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3073, allocations: 4 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3078, allocations: 394.4 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3078, allocations: 0 / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.3078, allocations: 7.984 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3078, allocations: 0 / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3078, allocations: 3.984 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3078, allocations: 8 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3079, allocations: 3.953 kB / 0.7921 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3081, allocations: 207.4 kB / 0.7923 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.3082, allocations: 85.02 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3082, allocations: 4 kB / 0.7924 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.3083, allocations: 11.98 kB / 0.7924 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3084, allocations: 11.89 kB / 0.7924 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3084, allocations: 7.984 kB / 0.7924 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.3085, allocations: 91.27 kB / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3085, allocations: 0 / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000301/0.3088, allocations: 36 kB / 0.7926 GB, free: 6.047 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.0004168/0.3092, allocations: 171.4 kB / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.3095, allocations: 79.88 kB / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3095, allocations: 0 / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.3096, allocations: 40.11 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.3098, allocations: 4 kB / 0.7928 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.3102, allocations: 211 kB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3105, allocations: 0.6991 MB / 0.7937 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.3106, allocations: 4.188 kB / 0.7937 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3106, allocations: 11.44 kB / 0.7937 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3106, allocations: 0 / 0.7937 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of Templates: time 0.00421/0.3148, allocations: 1.332 MB / 0.795 GB, free: 3.473 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: