Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 252 MB / 267.9 MB, free: 10.95 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.0009308/0.0009308, allocations: 185.8 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 0.5785 GB, free: 20.24 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.0007367/0.0007368, allocations: 86.41 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 12.38 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1596, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.3082, allocations: 133.7 MB / 1.032 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3085, allocations: 87.89 kB / 1.032 GB, free: 9.793 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.008222/0.3167, allocations: 2.899 MB / 1.035 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3167, allocations: 0 / 1.035 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3168, allocations: 4 kB / 1.035 GB, free: 6.883 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.0004732/0.3172, allocations: 450.6 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3173, allocations: 8.031 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3173, allocations: 8.844 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3174, allocations: 172.3 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.3175, allocations: 8.375 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3175, allocations: 384 / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3177, allocations: 78.16 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3177, allocations: 192 / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3177, allocations: 15.86 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3177, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3179, allocations: 47.95 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.3184, allocations: 300.8 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3185, allocations: 58.44 kB / 1.036 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.3186, allocations: 36.97 kB / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3186, allocations: 0 / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3188, allocations: 79.38 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3188, allocations: 0 / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003899/0.3192, allocations: 153.5 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3192, allocations: 51.41 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.3193, allocations: 121.8 kB / 1.036 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3194, allocations: 29.7 kB / 1.036 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.3194, allocations: 96.11 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3194, allocations: 15.81 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.3195, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3196, allocations: 326.8 kB / 1.037 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.3197, allocations: 23.98 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.3198, allocations: 61.58 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3199, allocations: 97.06 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3199, allocations: 0 / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002163/0.3202, allocations: 117.5 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3202, allocations: 4 kB / 1.037 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3202, allocations: 7.938 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3202, allocations: 0 / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.3203, allocations: 15.98 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3203, allocations: 12.09 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.3204, allocations: 11.84 kB / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3204, allocations: 11.98 kB / 1.037 GB, free: 4.242 MB / 0.6823 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 9.459e-05/0.3205, allocations: 125.7 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.3205, allocations: 7.906 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.3206, allocations: 8.375 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3206, allocations: 4 kB / 1.037 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3206, allocations: 8 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3206, allocations: 0 / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.321, allocations: 378.5 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.321, allocations: 0 / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3211, allocations: 11.92 kB / 1.038 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3211, allocations: 0 / 1.038 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3211, allocations: 8 kB / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3211, allocations: 0 / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3211, allocations: 0 / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3214, allocations: 215.3 kB / 1.038 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.3214, allocations: 81.11 kB / 1.038 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3215, allocations: 0 / 1.038 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3216, allocations: 11.98 kB / 1.038 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3216, allocations: 7.938 kB / 1.038 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.3216, allocations: 3.984 kB / 1.038 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.3217, allocations: 95.44 kB / 1.038 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3217, allocations: 0 / 1.038 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002814/0.322, allocations: 47.92 kB / 1.038 GB, free: 3.148 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 (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.0003236/0.3223, allocations: 178.9 kB / 1.038 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3225, allocations: 72.36 kB / 1.038 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3225, allocations: 0 / 1.038 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.3226, allocations: 40.3 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3229, allocations: 21.75 kB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3233, allocations: 218.2 kB / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3236, allocations: 0.6926 MB / 1.039 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.3236, allocations: 4 kB / 1.039 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3236, allocations: 15.42 kB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3237, allocations: 0 / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of Templates: time 0.003738/0.3274, allocations: 1.496 MB / 1.041 GB, free: 392 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)