Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 166.8 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001148, allocations: 82.25 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 10.09 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2094, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001665/0.2111, allocations: 1.199 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2123, allocations: 0.7852 MB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.2123, allocations: 3.938 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.2124, allocations: 0 / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.2125, allocations: 23.84 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.213, allocations: 95.83 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.066e-05/0.2131, allocations: 75.72 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.2132, allocations: 15.92 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.2132, allocations: 27.91 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.2133, allocations: 31.84 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2133, allocations: 4 kB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.2135, allocations: 95.84 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.2135, allocations: 11.98 kB / 0.8991 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2135, allocations: 35.78 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2137, allocations: 91.83 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2137, allocations: 0 / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2137, allocations: 3.938 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2137, allocations: 0 / 0.8992 GB, free: 65.68 MB / 0.6042 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.0005803/0.2143, allocations: 417 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2143, allocations: 12.03 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.2144, allocations: 4.844 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.2145, allocations: 176.3 kB / 0.8998 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2145, allocations: 4.375 kB / 0.8998 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2145, allocations: 8.312 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2147, allocations: 73.97 kB / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2147, allocations: 0 / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2147, allocations: 0 / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2147, allocations: 8 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.2149, allocations: 39.97 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.2154, allocations: 324.7 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2155, allocations: 54.44 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.2156, allocations: 36.95 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2156, allocations: 0 / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.2158, allocations: 95.34 kB / 0.9004 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2158, allocations: 0 / 0.9004 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003537/0.2162, allocations: 137.6 kB / 0.9005 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.2162, allocations: 59.41 kB / 0.9006 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.2163, allocations: 125.8 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2163, allocations: 29.69 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.2163, allocations: 88.14 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2164, allocations: 11.81 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.2164, allocations: 21.7 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.2165, allocations: 322.8 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.2165, allocations: 31.97 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.2166, allocations: 46.56 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2168, allocations: 94.47 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2168, allocations: 0 / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001989/0.217, allocations: 113.5 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.217, allocations: 4 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.217, allocations: 0 / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.217, allocations: 4 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.2171, allocations: 16.05 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2171, allocations: 0 / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.2172, allocations: 15.94 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2172, allocations: 4 kB / 0.9015 GB, free: 63.1 MB / 0.6042 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 7.168e-05/0.2173, allocations: 121.7 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.2173, allocations: 11.84 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2173, allocations: 12.36 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2173, allocations: 3.938 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2174, allocations: 7.984 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2174, allocations: 0 / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.2177, allocations: 386.4 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2177, allocations: 0 / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.2178, allocations: 8 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2178, allocations: 8 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.2178, allocations: 7.984 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2178, allocations: 480 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2178, allocations: 3.938 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2181, allocations: 211.4 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.2181, allocations: 81.02 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2181, allocations: 11.98 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.2182, allocations: 8 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.2183, allocations: 7.922 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2183, allocations: 4 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.2183, allocations: 91.27 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2183, allocations: 3.938 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002508/0.2186, allocations: 36 kB / 0.9024 GB, free: 62 MB / 0.6042 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.0002696/0.2188, allocations: 166.3 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.219, allocations: 75.89 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2191, allocations: 0 / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.2192, allocations: 44.09 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2194, allocations: 15.92 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.2197, allocations: 212.5 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2199, allocations: 0.6965 MB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.2199, allocations: 15.44 kB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2199, allocations: 0 / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.002673/0.2226, allocations: 1.601 MB / 0.9052 GB, free: 59.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)