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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001059/0.001059, allocations: 173.1 kB / 377.1 MB, free: 1.52 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.65/1.65, allocations: 205.4 MB / 0.6367 GB, free: 8.551 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.0008145/0.0008142, allocations: 89.78 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 11.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2944, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.17, allocations: 141 MB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/1.171, allocations: 87.38 kB / 1.126 GB, free: 34.07 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.01081/1.181, allocations: 2.983 MB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.006e-06/1.182, allocations: 3.125 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.182, allocations: 0 / 1.129 GB, free: 31.93 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.0005838/1.182, allocations: 427.5 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.182, allocations: 16.02 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/1.182, allocations: 2.062 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.182, allocations: 171.5 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.182, allocations: 4.562 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/1.182, allocations: 15.44 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/1.183, allocations: 71.84 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.183, allocations: 0 / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.183, allocations: 0 / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.183, allocations: 4 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/1.183, allocations: 42.83 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/1.184, allocations: 322.7 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/1.184, allocations: 46.09 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/1.184, allocations: 4 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/1.184, allocations: 85.72 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/1.184, allocations: 0 / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000466/1.185, allocations: 151.6 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.185, allocations: 55.41 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/1.185, allocations: 109.9 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/1.185, allocations: 30.36 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/1.185, allocations: 95.84 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/1.185, allocations: 11.81 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/1.185, allocations: 0 / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/1.185, allocations: 330.3 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/1.185, allocations: 27.61 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/1.185, allocations: 54.14 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/1.185, allocations: 37.25 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/1.185, allocations: 0 / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002752/1.186, allocations: 119.7 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.186, allocations: 8.625 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.186, allocations: 0.5625 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.186, allocations: 0 / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.186, allocations: 19.3 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.186, allocations: 0 / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/1.186, allocations: 12.41 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/1.186, allocations: 4 kB / 1.131 GB, free: 29.62 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 8.612e-05/1.186, allocations: 125.7 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/1.186, allocations: 4 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/1.186, allocations: 8.781 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.186, allocations: 4 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.186, allocations: 4 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.186, allocations: 1.75 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/1.187, allocations: 385.8 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.187, allocations: 0 / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/1.187, allocations: 7.328 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.187, allocations: 4 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/1.187, allocations: 4 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.187, allocations: 0.8125 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.187, allocations: 0 / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/1.187, allocations: 218.9 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/1.187, allocations: 88.42 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/1.187, allocations: 9.734 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/1.187, allocations: 4 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/1.187, allocations: 3.422 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/1.187, allocations: 4.5 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.415e-05/1.187, allocations: 95.78 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.187, allocations: 3.938 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000507/1.188, allocations: 51.41 kB / 1.132 GB, free: 28.59 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.0004544/1.188, allocations: 175.9 kB / 1.132 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002829/1.189, allocations: 74.39 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.189, allocations: 0 / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/1.189, allocations: 44.11 kB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/1.189, allocations: 5.422 kB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/1.189, allocations: 204.1 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/1.19, allocations: 0.6952 MB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.554e-05/1.19, allocations: 5.438 kB / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/1.19, allocations: 11.44 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/1.19, allocations: 3.938 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.004841/1.195, allocations: 1.523 MB / 1.135 GB, free: 26.56 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)