Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.97/1.97, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001063/0.001063, allocations: 180.2 kB / 371.8 MB, free: 10.29 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.635/1.635, allocations: 205.4 MB / 0.6306 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 97.67 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 10.56 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2575, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/1.04, allocations: 139.9 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.04, allocations: 87.66 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.008268/1.049, allocations: 2.894 MB / 1.119 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/1.049, allocations: 0 / 1.119 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.049, allocations: 0 / 1.119 GB, free: 31.97 MB / 0.698 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.0005132/1.049, allocations: 450.2 kB / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.049, allocations: 7.688 kB / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/1.049, allocations: 3.844 kB / 1.119 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/1.049, allocations: 181 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/1.049, allocations: 3.875 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/1.049, allocations: 15.09 kB / 1.12 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.05, allocations: 63.72 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.05, allocations: 2.953 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.05, allocations: 3.312 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.05, allocations: 0 / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/1.05, allocations: 43.75 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/1.05, allocations: 300.9 kB / 1.12 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/1.05, allocations: 60.75 kB / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/1.05, allocations: 0 / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/1.051, allocations: 80.14 kB / 1.12 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/1.051, allocations: 0 / 1.12 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003874/1.051, allocations: 148.1 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.051, allocations: 55.28 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/1.051, allocations: 111.3 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/1.051, allocations: 29.61 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/1.051, allocations: 92.23 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.051, allocations: 18.38 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/1.051, allocations: 3 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.051, allocations: 328.9 kB / 1.121 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/1.051, allocations: 24.33 kB / 1.121 GB, free: 30.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/1.052, allocations: 60.09 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/1.052, allocations: 32.88 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.052, allocations: 0 / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000195/1.052, allocations: 120.1 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.052, allocations: 3.906 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.052, allocations: 7.844 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.052, allocations: 0 / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/1.052, allocations: 22.58 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.052, allocations: 3.875 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/1.052, allocations: 11.88 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/1.052, allocations: 10.31 kB / 1.121 GB, free: 30.17 MB / 0.698 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.439e-05/1.052, allocations: 131 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/1.052, allocations: 7.719 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/1.052, allocations: 11.5 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/1.052, allocations: 4.031 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.052, allocations: 2.953 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.052, allocations: 0 / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/1.053, allocations: 382.3 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.053, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/1.053, allocations: 7.812 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.053, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.053, allocations: 6.578 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/1.053, allocations: 80 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.053, allocations: 3.984 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/1.053, allocations: 222 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/1.053, allocations: 77.11 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.053, allocations: 3.844 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/1.053, allocations: 6.656 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/1.053, allocations: 6.719 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.053, allocations: 7.5 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.835e-05/1.053, allocations: 90 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.053, allocations: 0 / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002745/1.054, allocations: 57.41 kB / 1.122 GB, free: 29.4 MB / 0.698 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.0003105/1.054, allocations: 171.3 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002286/1.054, allocations: 80.11 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.054, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/1.054, allocations: 33.16 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/1.054, allocations: 10.53 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/1.055, allocations: 211.8 kB / 1.123 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/1.055, allocations: 0.693 MB / 1.123 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.516e-05/1.055, allocations: 11.19 kB / 1.123 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/1.055, allocations: 10.88 kB / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.055, allocations: 0 / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of Templates: time 0.003852/1.059, allocations: 1.514 MB / 1.125 GB, free: 28.29 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)