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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001009/0.001009, allocations: 179.1 kB / 371.6 MB, free: 3.402 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.563/1.563, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0008773/0.0008776, allocations: 93.62 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.923e-05, allocations: 0 / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2923, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8657/1.158, allocations: 140.8 MB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.158, allocations: 81.7 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.007673/1.166, allocations: 2.862 MB / 1.12 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.335e-06/1.166, allocations: 4.719 kB / 1.12 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.166, allocations: 0 / 1.12 GB, free: 41.6 MB / 0.7448 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.0004181/1.166, allocations: 433.1 kB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.166, allocations: 12.03 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/1.167, allocations: 13.34 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.167, allocations: 171 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/1.167, allocations: 6.766 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/1.167, allocations: 4 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/1.167, allocations: 62.41 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.167, allocations: 4 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.167, allocations: 0.75 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.167, allocations: 0 / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.081e-05/1.167, allocations: 27.03 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/1.167, allocations: 305.2 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/1.168, allocations: 41.08 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/1.168, allocations: 27.02 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/1.168, allocations: 5.453 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.168, allocations: 65.77 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.168, allocations: 0 / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002296/1.168, allocations: 101.9 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/1.168, allocations: 55.41 kB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/1.168, allocations: 115.5 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/1.168, allocations: 29.2 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/1.168, allocations: 91.86 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/1.168, allocations: 30.66 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/1.168, allocations: 0 / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/1.168, allocations: 314.4 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/1.168, allocations: 19.08 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/1.168, allocations: 52.41 kB / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/1.168, allocations: 26.66 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.168, allocations: 0 / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001245/1.169, allocations: 102.8 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.169, allocations: 8 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/1.169, allocations: 0 / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.169, allocations: 4 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/1.169, allocations: 12.72 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.169, allocations: 4 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/1.169, allocations: 7.469 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.169, allocations: 7.953 kB / 1.122 GB, free: 39.49 MB / 0.7448 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 () * 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 5.931e-05/1.169, allocations: 117.6 kB / 1.122 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/1.169, allocations: 7.906 kB / 1.122 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/1.169, allocations: 8.25 kB / 1.122 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.169, allocations: 4.562 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.169, allocations: 1.062 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.169, allocations: 3.562 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/1.169, allocations: 367 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.169, allocations: 0 / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/1.169, allocations: 8 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.169, allocations: 0.6562 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.169, allocations: 3.469 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.169, allocations: 4.875 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.169, allocations: 0 / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/1.17, allocations: 195.5 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/1.17, allocations: 81.91 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/1.17, allocations: 3.938 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/1.17, allocations: 12.12 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/1.17, allocations: 7.938 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.17, allocations: 7.516 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.153e-05/1.17, allocations: 95.45 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.17, allocations: 0 / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002883/1.17, allocations: 54.86 kB / 1.123 GB, free: 38.57 MB / 0.7448 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 () * 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.0003931/1.171, allocations: 177.4 kB / 1.123 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.171, allocations: 49.92 kB / 1.123 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.171, allocations: 0 / 1.123 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/1.171, allocations: 34.62 kB / 1.123 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/1.171, allocations: 7.328 kB / 1.123 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/1.171, allocations: 102.7 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/1.171, allocations: 0.6922 MB / 1.124 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.547e-05/1.171, allocations: 8.234 kB / 1.124 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/1.171, allocations: 11.44 kB / 1.124 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of SimCode: time 1.332e-06/1.171, allocations: 0 / 1.124 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.003607/1.175, allocations: 1.52 MB / 1.126 GB, free: 36.7 MB / 0.7448 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)