Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.674/4.674, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.002226/0.002226, allocations: 186.6 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.879/3.879, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.001464/0.001463, allocations: 93.72 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007397/0.0007401, allocations: 12.56 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3153, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/0.6995, allocations: 133.5 MB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005428/0.7001, allocations: 87.94 kB / 1.03 GB, free: 11.69 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.05413/0.7543, allocations: 3 MB / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7543, allocations: 0 / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.7544, allocations: 0 / 1.033 GB, free: 8.68 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.001028/0.7554, allocations: 428.9 kB / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.7555, allocations: 8.031 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.7556, allocations: 8.844 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.7558, allocations: 168.4 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.7558, allocations: 8.375 kB / 1.034 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.7559, allocations: 12.31 kB / 1.034 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.7563, allocations: 74.14 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7563, allocations: 192 / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.7563, allocations: 3.938 kB / 1.034 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.7564, allocations: 4 kB / 1.034 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.7567, allocations: 43.97 kB / 1.034 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.7579, allocations: 320.7 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.7583, allocations: 58.44 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.7585, allocations: 36.91 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.7586, allocations: 7.984 kB / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.7589, allocations: 75.39 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.128e-06/0.759, allocations: 0 / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000892/0.7599, allocations: 149.5 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.76, allocations: 59.48 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.7602, allocations: 117.8 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.7602, allocations: 29.69 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.7603, allocations: 88.12 kB / 1.035 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.7604, allocations: 19.81 kB / 1.035 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.7604, allocations: 4 kB / 1.035 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.7606, allocations: 322.8 kB / 1.035 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.7608, allocations: 27.98 kB / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.7611, allocations: 50.55 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.7614, allocations: 32 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7614, allocations: 0 / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006251/0.762, allocations: 117.5 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.7621, allocations: 8.062 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7621, allocations: 4 kB / 1.035 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7621, allocations: 3.938 kB / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7624, allocations: 15.92 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.7624, allocations: 4 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.7626, allocations: 11.98 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.7626, allocations: 8 kB / 1.035 GB, free: 6.16 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 (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.0001879/0.7628, allocations: 121.8 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.7629, allocations: 7.906 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.763, allocations: 8.375 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.763, allocations: 4 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.763, allocations: 0 / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.763, allocations: 3.984 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.7641, allocations: 378.4 kB / 1.036 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7641, allocations: 7.984 kB / 1.036 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.7642, allocations: 4 kB / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.7642, allocations: 0 / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.7643, allocations: 8 kB / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.7643, allocations: 0 / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7643, allocations: 0 / 1.036 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.765, allocations: 227.7 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.7651, allocations: 84.95 kB / 1.036 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.7652, allocations: 4 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.7654, allocations: 11.98 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.7655, allocations: 3.938 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.7655, allocations: 11.92 kB / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001437/0.7657, allocations: 87.28 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7657, allocations: 4 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007755/0.7665, allocations: 51.92 kB / 1.036 GB, free: 5.051 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 (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.0006825/0.7672, allocations: 171.8 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.7678, allocations: 83.95 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7678, allocations: 0 / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.7681, allocations: 35.98 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.7686, allocations: 10.06 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.7694, allocations: 209.2 kB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/0.7717, allocations: 0.6848 MB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.7719, allocations: 7.984 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.772, allocations: 11.44 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/0.772, allocations: 0 / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of Templates: time 0.008441/0.7805, allocations: 1.526 MB / 1.039 GB, free: 2.281 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)