Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.486/2.486, allocations: 284.9 MB / 292.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 90.62 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.821e-05, allocations: 4 kB / 0.8508 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8298, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/1.072, allocations: 139.1 MB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.073, allocations: 79.95 kB / 1.099 GB, free: 1.238 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01453/1.087, allocations: 2.96 MB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/1.087, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.818e-06/1.087, allocations: 4.531 kB / 1.102 GB, free: 14.32 MB / 0.7136 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.0006888/1.088, allocations: 411.8 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.088, allocations: 12.03 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/1.088, allocations: 7.906 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.088, allocations: 178.9 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/1.088, allocations: 0.5312 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/1.088, allocations: 8 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001505/1.088, allocations: 20.53 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.089, allocations: 54.27 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.089, allocations: 9.484 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.089, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.089, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/1.09, allocations: 295.8 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/1.09, allocations: 39.19 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/1.09, allocations: 29.45 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/1.09, allocations: 0.5938 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/1.09, allocations: 68.61 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/1.09, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003614/1.09, allocations: 98.42 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.09, allocations: 55.41 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/1.091, allocations: 109.8 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.091, allocations: 29.7 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/1.091, allocations: 93.39 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/1.091, allocations: 19.73 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.091, allocations: 1.344 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.091, allocations: 318.8 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/1.091, allocations: 20 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/1.091, allocations: 39.75 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/1.091, allocations: 26.02 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.091, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002666/1.091, allocations: 93.52 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.092, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.092, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.092, allocations: 0 / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.092, allocations: 11.98 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.092, allocations: 7.938 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.092, allocations: 12.05 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/1.092, allocations: 4 kB / 1.104 GB, free: 12.08 MB / 0.7136 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 () * 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.0001085/1.092, allocations: 108.7 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000267/1.092, allocations: 97.58 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/1.092, allocations: 4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/1.092, allocations: 4.625 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.092, allocations: 4 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.092, allocations: 4 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.092, allocations: 7.938 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/1.093, allocations: 339 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.093, allocations: 1.812 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/1.093, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.093, allocations: 3.984 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.093, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.093, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.093, allocations: 5.594 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/1.094, allocations: 191.5 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/1.094, allocations: 88.95 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/1.094, allocations: 3.984 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.094, allocations: 7.656 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/1.094, allocations: 11.94 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.094, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.931e-05/1.094, allocations: 89.36 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.094, allocations: 4 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004737/1.094, allocations: 51.92 kB / 1.105 GB, free: 10.98 MB / 0.7136 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 () * 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.001045/1.096, allocations: 0.7939 MB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002305/1.096, allocations: 51.98 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.096, allocations: 0 / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/1.096, allocations: 27.94 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/1.096, allocations: 10.05 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/1.097, allocations: 148.5 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/1.097, allocations: 0.6925 MB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.003e-05/1.097, allocations: 5.438 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/1.097, allocations: 26.05 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/1.097, allocations: 0 / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/1.136, allocations: 2.181 MB / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/1.136, allocations: 186.7 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.675, allocations: 2.188 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)