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.579/1.579, allocations: 251.9 MB / 266.9 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.001063/0.001063, allocations: 178.6 kB / 326.5 MB, free: 2.27 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.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001034/0.001034, allocations: 110 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 8.625 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.4845, allocations: 133.7 MB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4848, allocations: 83.95 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009952/0.4948, allocations: 2.994 MB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.854e-06/0.4949, allocations: 0 / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.4949, allocations: 0 / 1.034 GB, free: 6.887 MB / 0.6823 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.0008257/0.4957, allocations: 428.7 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/0.4958, allocations: 15.97 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.4959, allocations: 34.56 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.496, allocations: 7.906 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.4962, allocations: 182.8 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.4963, allocations: 7.875 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4963, allocations: 8 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4965, allocations: 65.66 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4965, allocations: 4 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4966, allocations: 4 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.4966, allocations: 0 / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.4967, allocations: 39.97 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.4975, allocations: 320.8 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.4977, allocations: 54.48 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4977, allocations: 0 / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.4979, allocations: 87.56 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.4979, allocations: 0 / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004775/0.4984, allocations: 149.5 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.4985, allocations: 59.36 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4986, allocations: 109 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.4986, allocations: 33.7 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.4987, allocations: 92.31 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.4987, allocations: 15.8 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.4988, allocations: 0 / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4989, allocations: 324.8 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.499, allocations: 27.98 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4991, allocations: 50.56 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4992, allocations: 31.98 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4992, allocations: 0 / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002653/0.4995, allocations: 121.5 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4996, allocations: 8 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4996, allocations: 0 / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.4996, allocations: 3.938 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4997, allocations: 15.92 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4997, allocations: 4 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.4998, allocations: 7.953 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4999, allocations: 8 kB / 1.036 GB, free: 4.371 MB / 0.6823 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.0001266/0.5, allocations: 125.9 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.5, allocations: 7.906 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.5001, allocations: 8.359 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5001, allocations: 4 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5001, allocations: 0 / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5001, allocations: 0 / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.5006, allocations: 398.3 kB / 1.036 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5006, allocations: 0 / 1.036 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.5007, allocations: 7.984 kB / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5007, allocations: 0 / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5007, allocations: 4 kB / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5007, allocations: 0 / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5007, allocations: 3.953 kB / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.501, allocations: 223.3 kB / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.5011, allocations: 81.02 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.5011, allocations: 4 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.5012, allocations: 4 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.5013, allocations: 7.938 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5013, allocations: 8 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.37e-05/0.5014, allocations: 95.27 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5014, allocations: 0 / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003672/0.5018, allocations: 51.92 kB / 1.037 GB, free: 3.258 MB / 0.6823 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.001131/0.5029, allocations: 0.8232 MB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.5032, allocations: 75.95 kB / 1.038 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5032, allocations: 4.125 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.5033, allocations: 39.92 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.5035, allocations: 7.172 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.5046, allocations: 0.7341 MB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.505, allocations: 0.6965 MB / 1.039 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.505, allocations: 8.172 kB / 1.039 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.5051, allocations: 15.44 kB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/0.5051, allocations: 0 / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.5216, allocations: 2.503 MB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003552/0.5221, allocations: 247 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.264, allocations: 0 / 1.042 GB, free: 14.1 MB / 0.698 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)