Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.478/1.478, allocations: 252 MB / 267 MB, free: 10.98 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.001304/0.001304, allocations: 184.6 kB / 326.6 MB, free: 2.23 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.99/1.99, allocations: 205.4 MB / 0.5777 GB, free: 20.48 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.0009122/0.0009126, allocations: 89.7 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003813, allocations: 8.656 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 106.3 MB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002497/0.2892, allocations: 1.188 MB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2905, allocations: 0.7256 MB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.2906, allocations: 0 / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.2907, allocations: 7.922 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.2908, allocations: 11.92 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.2914, allocations: 95.77 kB / 0.9023 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2916, allocations: 75.7 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2917, allocations: 4 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2918, allocations: 27.92 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.2919, allocations: 39.81 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2919, allocations: 4 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.2922, allocations: 79.92 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.2922, allocations: 15.92 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.2923, allocations: 33.7 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2925, allocations: 103.8 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2926, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2926, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2926, allocations: 0 / 0.9027 GB, free: 61.89 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.0007289/0.2933, allocations: 401.2 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2934, allocations: 12.03 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.2934, allocations: 46.48 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.2935, allocations: 11.86 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2936, allocations: 170.9 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2936, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2937, allocations: 8 kB / 0.9033 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.2939, allocations: 69.59 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2939, allocations: 4 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2939, allocations: 3.984 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2939, allocations: 0 / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2941, allocations: 43.92 kB / 0.9034 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.2947, allocations: 328.7 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2948, allocations: 50.56 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.2949, allocations: 32.97 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.2949, allocations: 4 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.2951, allocations: 87.31 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.2951, allocations: 0 / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003849/0.2955, allocations: 145.6 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.2956, allocations: 63.39 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.2957, allocations: 117.8 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2957, allocations: 29.7 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.2957, allocations: 92.22 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.2958, allocations: 15.84 kB / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.2958, allocations: 4 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.2959, allocations: 314.8 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.2959, allocations: 31.97 kB / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.296, allocations: 54.5 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.2961, allocations: 31.98 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2961, allocations: 0 / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002058/0.2963, allocations: 121.5 kB / 0.9048 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2964, allocations: 8 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2964, allocations: 0 / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2964, allocations: 3.953 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.2965, allocations: 15.92 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2965, allocations: 4.391 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.2966, allocations: 11.91 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.2966, allocations: 8.062 kB / 0.9049 GB, free: 59.35 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 8.413e-05/0.2967, allocations: 121.8 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2967, allocations: 7.984 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.2968, allocations: 8.375 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2968, allocations: 4 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2968, allocations: 3.953 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2968, allocations: 0 / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.2972, allocations: 390.4 kB / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2972, allocations: 0 / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.2973, allocations: 11.92 kB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2973, allocations: 4 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2973, allocations: 7.953 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2973, allocations: 0 / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2973, allocations: 0 / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.2976, allocations: 215.4 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.2976, allocations: 81.09 kB / 0.9057 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2976, allocations: 4 kB / 0.9057 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.2977, allocations: 15.89 kB / 0.9057 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.2978, allocations: 7.984 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-06/0.2978, allocations: 4 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.2978, allocations: 91.27 kB / 0.9058 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2978, allocations: 0 / 0.9058 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002799/0.2981, allocations: 43.92 kB / 0.9059 GB, free: 58.25 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.0006381/0.2987, allocations: 0.801 MB / 0.9067 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.299, allocations: 83.95 kB / 0.9067 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.299, allocations: 0 / 0.9067 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.2991, allocations: 35.98 kB / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2993, allocations: 17.73 kB / 0.9068 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.3003, allocations: 0.6108 MB / 0.9074 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.3004, allocations: 0.6848 MB / 0.908 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.3005, allocations: 4.734 kB / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.3005, allocations: 31.3 kB / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.3005, allocations: 0 / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.3136, allocations: 2.351 MB / 0.9104 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.3138, allocations: 251.7 kB / 0.9106 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.938, allocations: 5.812 kB / 0.9106 GB, free: 53.4 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)