Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.872/1.872, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001677/0.001677, allocations: 181.1 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 0.6366 GB, free: 9.594 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.001068/0.001068, allocations: 87.14 kB / 0.7509 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004455, allocations: 8 kB / 0.8749 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 116.3 MB / 0.9884 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7167/1.003, allocations: 141 MB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.003, allocations: 83.72 kB / 1.126 GB, free: 34.06 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008621/1.012, allocations: 2.983 MB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/1.012, allocations: 4 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.884e-06/1.012, allocations: 0 / 1.129 GB, free: 31.91 MB / 0.7292 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.0005177/1.013, allocations: 426.7 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.013, allocations: 11.97 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/1.013, allocations: 38.56 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/1.013, allocations: 6.625 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.013, allocations: 170.5 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/1.013, allocations: 5.203 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/1.013, allocations: 5.172 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/1.013, allocations: 71.7 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.013, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/1.013, allocations: 5.719 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.013, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/1.013, allocations: 47.09 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/1.014, allocations: 320.3 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/1.014, allocations: 53.33 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/1.014, allocations: 0 / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/1.014, allocations: 87.19 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/1.014, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003901/1.015, allocations: 147.8 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.015, allocations: 55.41 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/1.015, allocations: 116.5 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.015, allocations: 29.7 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/1.015, allocations: 92.23 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/1.015, allocations: 19.8 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/1.015, allocations: 0 / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/1.015, allocations: 318.8 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/1.015, allocations: 30.97 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/1.015, allocations: 50.69 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.722e-05/1.015, allocations: 40.22 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.015, allocations: 0.6562 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002184/1.015, allocations: 116 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.016, allocations: 4 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.016, allocations: 0 / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.016, allocations: 4 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/1.016, allocations: 19.62 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.016, allocations: 0.8594 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/1.016, allocations: 13.2 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/1.016, allocations: 7.953 kB / 1.131 GB, free: 29.57 MB / 0.7292 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.0001378/1.016, allocations: 121.1 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/1.016, allocations: 4 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/1.016, allocations: 12.38 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.016, allocations: 4 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.016, allocations: 0.5 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.016, allocations: 0 / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/1.016, allocations: 389.8 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.016, allocations: 5.312 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/1.017, allocations: 7.516 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.017, allocations: 4 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.017, allocations: 0 / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.017, allocations: 0 / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.017, allocations: 2.031 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/1.017, allocations: 222.2 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/1.017, allocations: 92.66 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.017, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/1.017, allocations: 4 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/1.017, allocations: 7.375 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.017, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.119e-05/1.017, allocations: 99.41 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 3.938 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003959/1.018, allocations: 51.33 kB / 1.132 GB, free: 28.53 MB / 0.7292 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.001009/1.019, allocations: 0.8235 MB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002735/1.019, allocations: 75.22 kB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.019, allocations: 0 / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/1.019, allocations: 38.73 kB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/1.019, allocations: 11.03 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/1.02, allocations: 0.734 MB / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/1.02, allocations: 0.6915 MB / 1.135 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.855e-05/1.02, allocations: 5.891 kB / 1.135 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/1.02, allocations: 22.95 kB / 1.135 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of SimCode: time 6.582e-06/1.02, allocations: 0 / 1.135 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/1.037, allocations: 2.499 MB / 1.137 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.038, allocations: 247.4 kB / 1.137 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.659, allocations: 0 / 1.137 GB, free: 24.5 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)