Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 293 MB / 309 MB, free: 4.801 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.0009615/0.0009613, allocations: 168.6 kB / 378.7 MB, free: 1.012 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.546/1.546, allocations: 205.4 MB / 0.6383 GB, free: 9.176 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.0007446/0.0007444, allocations: 90.8 kB / 0.7527 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003661, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 116.4 MB / 0.9904 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6252/0.8521, allocations: 141.1 MB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.8523, allocations: 88.61 kB / 1.128 GB, free: 33.28 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.007895/0.8603, allocations: 2.992 MB / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.806e-06/0.8603, allocations: 0 / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8603, allocations: 4 kB / 1.131 GB, free: 31.12 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.0004788/0.8608, allocations: 424 kB / 1.132 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.8608, allocations: 15.97 kB / 1.132 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.8609, allocations: 9.438 kB / 1.132 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.861, allocations: 168.3 kB / 1.132 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.861, allocations: 384 / 1.132 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.8611, allocations: 11.75 kB / 1.132 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.8613, allocations: 73.69 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8613, allocations: 192 / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.8613, allocations: 3.938 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8613, allocations: 0 / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.8614, allocations: 47.48 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.862, allocations: 319.3 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.8621, allocations: 54.78 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.8622, allocations: 36.45 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.8622, allocations: 3.328 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.8624, allocations: 87.45 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.8624, allocations: 0 / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003675/0.8627, allocations: 148.2 kB / 1.133 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.8628, allocations: 55.41 kB / 1.133 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.8629, allocations: 126 kB / 1.133 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.8629, allocations: 25.7 kB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.8629, allocations: 92.8 kB / 1.133 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.863, allocations: 15.38 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.863, allocations: 4 kB / 1.133 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.863, allocations: 314.8 kB / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.8631, allocations: 35.08 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.8632, allocations: 58.34 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.8634, allocations: 74.12 kB / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8634, allocations: 4.562 kB / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002269/0.8636, allocations: 124.1 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8636, allocations: 4 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8637, allocations: 0 / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8637, allocations: 4 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.8638, allocations: 15.5 kB / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.8638, allocations: 0.625 kB / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.8639, allocations: 12.69 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.8639, allocations: 8 kB / 1.133 GB, free: 28.71 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 7.416e-05/0.864, allocations: 121.2 kB / 1.134 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.864, allocations: 7.906 kB / 1.134 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.864, allocations: 10.53 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.864, allocations: 0.5625 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.864, allocations: 0 / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.864, allocations: 4.562 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.8644, allocations: 386.9 kB / 1.134 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8644, allocations: 0 / 1.134 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.8645, allocations: 8.078 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8645, allocations: 0.8438 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8645, allocations: 0 / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8645, allocations: 8 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8645, allocations: 0.5 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.8648, allocations: 218 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.8648, allocations: 92.47 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.8648, allocations: 0 / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.8649, allocations: 8.5 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.865, allocations: 15.31 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.865, allocations: 1.125 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.865, allocations: 99.23 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8651, allocations: 0 / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003062/0.8654, allocations: 47.38 kB / 1.134 GB, free: 27.68 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.000334/0.8657, allocations: 169 kB / 1.135 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.8659, allocations: 78.7 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8659, allocations: 0 / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.866, allocations: 39.02 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.8663, allocations: 12.16 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.8666, allocations: 203.6 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.8668, allocations: 0.6918 MB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.8668, allocations: 8.812 kB / 1.136 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.8669, allocations: 11.44 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/0.8669, allocations: 0 / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.004158/0.871, allocations: 1.499 MB / 1.137 GB, free: 25.65 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)