Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.658/1.658, 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.0009288/0.0009288, allocations: 175.7 kB / 378.7 MB, free: 1.023 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.642/1.642, 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.0006959/0.000696, allocations: 92.83 kB / 0.7527 GB, free: 62.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 15.98 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 116.4 MB / 0.9904 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6178/0.852, allocations: 141 MB / 1.128 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.8522, allocations: 84.88 kB / 1.128 GB, free: 33.27 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.007286/0.8595, allocations: 2.9 MB / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8595, allocations: 0 / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8596, allocations: 4 kB / 1.131 GB, free: 31.18 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.0004086/0.86, allocations: 442.3 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.86, allocations: 12.59 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.8601, allocations: 12.88 kB / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.8602, allocations: 180.2 kB / 1.132 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.8602, allocations: 384 / 1.132 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.8602, allocations: 5 kB / 1.132 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.8604, allocations: 72.45 kB / 1.132 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8604, allocations: 0.75 kB / 1.132 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.8604, allocations: 7.938 kB / 1.132 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8605, allocations: 0 / 1.132 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.8606, allocations: 46.22 kB / 1.132 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.861, allocations: 300.8 kB / 1.132 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.8611, allocations: 57.41 kB / 1.132 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.8612, allocations: 37.73 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.8613, allocations: 4 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.8614, allocations: 85.98 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8614, allocations: 4 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003582/0.8618, allocations: 139.9 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.8618, allocations: 59.41 kB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.8619, allocations: 121.3 kB / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.8619, allocations: 25.7 kB / 1.133 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.862, allocations: 92.14 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.862, allocations: 15.38 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.862, allocations: 0 / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.8621, allocations: 322.8 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.8621, allocations: 27.59 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.8622, allocations: 64.52 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.8624, allocations: 100.1 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8624, allocations: 0 / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000208/0.8626, allocations: 124.4 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8626, allocations: 4.156 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8626, allocations: 8.562 kB / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8627, allocations: 0 / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.8628, allocations: 15.98 kB / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8628, allocations: 3.938 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.8628, allocations: 12 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.8629, allocations: 4 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: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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.846e-05/0.863, allocations: 122.4 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.863, allocations: 16.11 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.863, allocations: 8.375 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.863, allocations: 0 / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.863, allocations: 4 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8631, allocations: 0 / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.8635, allocations: 384.1 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8635, allocations: 5.188 kB / 1.134 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.8636, allocations: 7.422 kB / 1.134 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8636, allocations: 0 / 1.134 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.8636, allocations: 4 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8636, allocations: 0.5 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8636, allocations: 4 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.8639, allocations: 225.8 kB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.8639, allocations: 85.02 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.864, allocations: 0.5625 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.8641, allocations: 7.609 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.8641, allocations: 11.94 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.8641, allocations: 3.703 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.8642, allocations: 90.75 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8642, allocations: 1.031 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003033/0.8645, allocations: 55.94 kB / 1.134 GB, free: 27.66 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.0004173/0.8649, allocations: 163.6 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.8651, allocations: 83.33 kB / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8652, allocations: 0 / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/0.8653, allocations: 42.78 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.8655, allocations: 8.547 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.866, allocations: 209.2 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.8662, allocations: 0.6876 MB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.8662, allocations: 11.11 kB / 1.136 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.8662, allocations: 7.438 kB / 1.136 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.8663, allocations: 4 kB / 1.136 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of Templates: time 0.004317/0.8706, allocations: 1.496 MB / 1.137 GB, free: 25.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)