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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.001039/0.001039, allocations: 180.6 kB / 325.9 MB, free: 2.668 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.668/1.668, allocations: 205 MB / 0.576 GB, free: 20.97 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.0009313/0.000931, allocations: 97.16 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 5.719 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2326, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001448/0.2341, allocations: 1.219 MB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2352, allocations: 0.7844 MB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.2352, allocations: 0 / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.2353, allocations: 4 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.2354, allocations: 11.86 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.2358, allocations: 99.83 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.2359, allocations: 75.7 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.236, allocations: 12 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.2361, allocations: 27.92 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.2361, allocations: 43.81 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2362, allocations: 0 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.2363, allocations: 95.84 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2363, allocations: 7.984 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.2364, allocations: 35.78 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.2366, allocations: 131.7 kB / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2366, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2366, allocations: 0 / 0.8987 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2366, allocations: 4 kB / 0.8987 GB, free: 65.46 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.0004828/0.2371, allocations: 401.1 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2371, allocations: 12.03 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.2372, allocations: 42.67 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2372, allocations: 8.844 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.2373, allocations: 172.3 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2373, allocations: 4.375 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2373, allocations: 4.375 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.2375, allocations: 77.78 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2375, allocations: 0 / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2375, allocations: 0 / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2375, allocations: 0 / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.2377, allocations: 43.97 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.2382, allocations: 340.5 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.2383, allocations: 46.56 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.2384, allocations: 40.97 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2384, allocations: 3.984 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.2386, allocations: 83.31 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2386, allocations: 0 / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000377/0.2389, allocations: 141.6 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.239, allocations: 51.41 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.2391, allocations: 133.7 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2391, allocations: 29.7 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.2391, allocations: 84.14 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2392, allocations: 23.86 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.2392, allocations: 21.72 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.2393, allocations: 322.8 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.2394, allocations: 27.98 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.2394, allocations: 54.48 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2396, allocations: 78.56 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2396, allocations: 0 / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001886/0.2398, allocations: 117.8 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2398, allocations: 8 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2398, allocations: 0 / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2398, allocations: 0 / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.024e-05/0.2399, allocations: 19.92 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2399, allocations: 4.062 kB / 0.901 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.24, allocations: 11.94 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.24, allocations: 7.984 kB / 0.901 GB, free: 62.83 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.065e-05/0.2401, allocations: 121.8 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.2401, allocations: 7.906 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.2402, allocations: 12.38 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2402, allocations: 0 / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2402, allocations: 0 / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2402, allocations: 0 / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.2405, allocations: 390.4 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2405, allocations: 0 / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2406, allocations: 11.98 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2406, allocations: 0 / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2406, allocations: 3.938 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2406, allocations: 3.938 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2406, allocations: 0 / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.2408, allocations: 219.3 kB / 0.9017 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.2409, allocations: 85.02 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2409, allocations: 4 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.241, allocations: 11.88 kB / 0.9018 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.241, allocations: 11.98 kB / 0.9018 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.241, allocations: 0 / 0.9018 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.2411, allocations: 99.92 kB / 0.9019 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2411, allocations: 0 / 0.9019 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002705/0.2414, allocations: 39.98 kB / 0.902 GB, free: 61.73 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.0006282/0.242, allocations: 0.8094 MB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2422, allocations: 75.95 kB / 0.9028 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2422, allocations: 4.125 kB / 0.9028 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2423, allocations: 39.92 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.2426, allocations: 15.92 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2438, allocations: 1.507 MB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.244, allocations: 0.6964 MB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.244, allocations: 7.938 kB / 0.905 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.2441, allocations: 19.42 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2441, allocations: 0 / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.2561, allocations: 2.346 MB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.2563, allocations: 288.5 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.992, allocations: 3.234 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)