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.545/1.545, allocations: 252 MB / 268 MB, free: 10.88 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.001038/0.001038, allocations: 174.5 kB / 327.6 MB, free: 2.117 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.893/1.893, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008003/0.0008002, allocations: 88.88 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 6.031 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001535/0.223, allocations: 1.192 MB / 0.9026 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2241, allocations: 0.7681 MB / 0.9034 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.2242, allocations: 11.94 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.2242, allocations: 0 / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.2243, allocations: 7.875 kB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.2247, allocations: 95.83 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.2248, allocations: 83.69 kB / 0.9036 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.2249, allocations: 11.98 kB / 0.9036 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.225, allocations: 31.92 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.2251, allocations: 39.81 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2251, allocations: 3.938 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.2253, allocations: 95.84 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.2253, allocations: 15.92 kB / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.2253, allocations: 53.56 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2255, allocations: 95.81 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2255, allocations: 0 / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2255, allocations: 0 / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.2255, allocations: 0 / 0.9039 GB, free: 61.02 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.0005104/0.226, allocations: 417.2 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2261, allocations: 8.031 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.2261, allocations: 8.844 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.2262, allocations: 172.2 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.2263, allocations: 4.312 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2263, allocations: 12.31 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2264, allocations: 77.97 kB / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2265, allocations: 0 / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2265, allocations: 3.984 kB / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2265, allocations: 0 / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2266, allocations: 39.98 kB / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.2271, allocations: 324.8 kB / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.2273, allocations: 50.5 kB / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.2274, allocations: 36.97 kB / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2274, allocations: 4 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2276, allocations: 83.28 kB / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2276, allocations: 0 / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003644/0.2279, allocations: 149.6 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.228, allocations: 59.39 kB / 0.9053 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.2281, allocations: 125.7 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2281, allocations: 25.7 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2281, allocations: 92.12 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2282, allocations: 19.75 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.2282, allocations: 0 / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.2282, allocations: 326.8 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.2283, allocations: 31.98 kB / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.2284, allocations: 46.56 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2285, allocations: 82.48 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2286, allocations: 0 / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002277/0.2288, allocations: 117.5 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2288, allocations: 11.94 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2288, allocations: 8.062 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2289, allocations: 0 / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.229, allocations: 15.98 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.229, allocations: 3.938 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.229, allocations: 4 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2291, allocations: 4 kB / 0.9061 GB, free: 58.46 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,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.813e-05/0.2292, allocations: 129.7 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.2292, allocations: 11.91 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.2292, allocations: 8.375 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2292, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2292, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2292, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.2296, allocations: 390.8 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2296, allocations: 4 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.2297, allocations: 4 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2297, allocations: 3.984 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2297, allocations: 0 / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2297, allocations: 0 / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2297, allocations: 3.938 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.23, allocations: 223.5 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.23, allocations: 89 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.23, allocations: 0 / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.2301, allocations: 4 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.2302, allocations: 11.92 kB / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2302, allocations: 7.984 kB / 0.907 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.2302, allocations: 95.27 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2302, allocations: 3.938 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000291/0.2305, allocations: 43.94 kB / 0.9071 GB, free: 57.34 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.0003461/0.2309, allocations: 156.3 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2311, allocations: 83.95 kB / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2311, allocations: 0 / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.2312, allocations: 35.98 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2315, allocations: 11.03 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.2319, allocations: 244.9 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.232, allocations: 0.691 MB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2321, allocations: 15.42 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.1e-07/0.2321, allocations: 0 / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.002851/0.2349, allocations: 1.595 MB / 0.9099 GB, free: 54.49 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)