Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.92 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.0008761/0.0008761, allocations: 180.3 kB / 327.6 MB, free: 2.148 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.384/1.384, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0007765/0.0007765, allocations: 83.86 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 11.94 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.3067, allocations: 133.7 MB / 1.032 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.307, allocations: 83.94 kB / 1.032 GB, free: 10.12 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.007787/0.3148, allocations: 2.903 MB / 1.035 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3148, allocations: 0 / 1.035 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.3148, allocations: 4 kB / 1.035 GB, free: 7.211 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.0004326/0.3153, allocations: 450.6 kB / 1.035 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3153, allocations: 8.031 kB / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.3154, allocations: 12.83 kB / 1.035 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.3155, allocations: 172.3 kB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3155, allocations: 4.375 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3155, allocations: 4.375 kB / 1.035 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3157, allocations: 74.16 kB / 1.035 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3157, allocations: 8.188 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3157, allocations: 11.88 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3157, allocations: 0 / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3159, allocations: 39.97 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3163, allocations: 300.8 kB / 1.036 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3164, allocations: 54.44 kB / 1.036 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.3165, allocations: 44.94 kB / 1.036 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3165, allocations: 0 / 1.036 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.3167, allocations: 83.45 kB / 1.036 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3167, allocations: 0 / 1.036 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003694/0.3171, allocations: 145.5 kB / 1.036 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3171, allocations: 59.34 kB / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.3172, allocations: 125.8 kB / 1.036 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3172, allocations: 25.7 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3173, allocations: 92.05 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.3173, allocations: 15.8 kB / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.3173, allocations: 0 / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.3174, allocations: 322.8 kB / 1.037 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.3175, allocations: 27.98 kB / 1.037 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.3176, allocations: 65.12 kB / 1.037 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3177, allocations: 93.08 kB / 1.037 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3177, allocations: 0 / 1.037 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002029/0.3179, allocations: 117.5 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.318, allocations: 4 kB / 1.037 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.318, allocations: 4 kB / 1.037 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.318, allocations: 3.984 kB / 1.037 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.3181, allocations: 15.94 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3181, allocations: 0 / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.3181, allocations: 31.92 kB / 1.037 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3182, allocations: 4 kB / 1.037 GB, free: 4.57 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 7.807e-05/0.3182, allocations: 125.7 kB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.3183, allocations: 7.906 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3183, allocations: 8.375 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3183, allocations: 0 / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3183, allocations: 4 kB / 1.037 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3183, allocations: 3.984 kB / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.3187, allocations: 382.8 kB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3187, allocations: 0 / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.3188, allocations: 4 kB / 1.038 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3188, allocations: 0 / 1.038 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3188, allocations: 3.938 kB / 1.038 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3188, allocations: 7.984 kB / 1.038 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3188, allocations: 0 / 1.038 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3191, allocations: 223.4 kB / 1.038 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.3191, allocations: 81.11 kB / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3191, allocations: 3.984 kB / 1.038 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.3192, allocations: 4 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.3192, allocations: 15.92 kB / 1.038 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3193, allocations: 0 / 1.038 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.3193, allocations: 95.92 kB / 1.038 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3193, allocations: 0 / 1.038 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002755/0.3196, allocations: 47.94 kB / 1.038 GB, free: 3.473 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.0002973/0.3199, allocations: 180.2 kB / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3201, allocations: 75.89 kB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3201, allocations: 0 / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.3202, allocations: 39.98 kB / 1.038 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.3205, allocations: 16.23 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.3208, allocations: 215 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3211, allocations: 0.6888 MB / 1.039 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.3211, allocations: 7.984 kB / 1.039 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.3211, allocations: 11.44 kB / 1.039 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of SimCode: time 1.9e-07/0.3211, allocations: 0 / 1.039 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of Templates: time 0.003469/0.3246, allocations: 1.497 MB / 1.041 GB, free: 0.707 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)