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.675/1.675, allocations: 252 MB / 267 MB, free: 10.97 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.001679/0.001679, allocations: 190.7 kB / 326.6 MB, free: 2.219 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.974/1.974, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.001108/0.001108, allocations: 86.09 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 6.656 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00215/0.2855, allocations: 1.192 MB / 0.9015 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.2871, allocations: 0.7256 MB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.2872, allocations: 0 / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.2872, allocations: 3.938 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.2873, allocations: 7.922 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.288, allocations: 99.7 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.2882, allocations: 67.78 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2883, allocations: 15.97 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2884, allocations: 27.92 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.2885, allocations: 35.83 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.2885, allocations: 4 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2888, allocations: 83.91 kB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.2888, allocations: 15.92 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.2889, allocations: 33.7 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2891, allocations: 95.83 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2891, allocations: 0 / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.857e-06/0.2891, allocations: 7.938 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2891, allocations: 0 / 0.9026 GB, free: 61.93 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.0007128/0.2898, allocations: 409.1 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.2899, allocations: 8.031 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.2899, allocations: 38.56 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.29, allocations: 11.86 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2902, allocations: 174.9 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.2902, allocations: 4 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.2903, allocations: 11.94 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2905, allocations: 65.66 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2906, allocations: 3.984 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2906, allocations: 0 / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2906, allocations: 4 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.2908, allocations: 47.91 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.2917, allocations: 312.8 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2919, allocations: 58.55 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.292, allocations: 32.97 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.292, allocations: 8.062 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.2923, allocations: 87.3 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.2923, allocations: 0 / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004986/0.2928, allocations: 149.5 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.2929, allocations: 51.41 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.293, allocations: 125.8 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.2931, allocations: 25.7 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.2932, allocations: 96.23 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2932, allocations: 15.83 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.2932, allocations: 4 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2933, allocations: 318.8 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.2934, allocations: 27.98 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.2936, allocations: 58.48 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.2937, allocations: 35.98 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2937, allocations: 0 / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.2939, allocations: 113.5 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.294, allocations: 7.984 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.294, allocations: 0 / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.294, allocations: 11.89 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2941, allocations: 12 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2942, allocations: 0 / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.2942, allocations: 19.89 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2943, allocations: 4 kB / 0.9049 GB, free: 59.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.2944, allocations: 121.8 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.2944, allocations: 4 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.2945, allocations: 16.3 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2945, allocations: 0 / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2945, allocations: 3.953 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2945, allocations: 0 / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.295, allocations: 394.4 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.295, allocations: 0 / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.2951, allocations: 4 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2951, allocations: 0 / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.2951, allocations: 11.94 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2951, allocations: 0 / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2951, allocations: 0 / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.2954, allocations: 211.4 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.2955, allocations: 77.11 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2955, allocations: 4 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.2956, allocations: 11.94 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2956, allocations: 4 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2956, allocations: 11.98 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.2957, allocations: 99.8 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2957, allocations: 0 / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003025/0.296, allocations: 39.94 kB / 0.9059 GB, free: 58.28 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 (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.0007221/0.2967, allocations: 0.8166 MB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.297, allocations: 75.91 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.297, allocations: 4.125 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.2971, allocations: 39.97 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2973, allocations: 9.984 kB / 0.9068 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2984, allocations: 0.6115 MB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2987, allocations: 0.6887 MB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.2987, allocations: 4.188 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.2988, allocations: 23.42 kB / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.2988, allocations: 0 / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.3135, allocations: 2.339 MB / 0.9104 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.3138, allocations: 272.1 kB / 0.9106 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.047, allocations: 1.562 kB / 0.9106 GB, free: 53.45 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)