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.547/1.547, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001255/0.001255, allocations: 180.9 kB / 361.4 MB, free: 6.871 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.704/1.704, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008563/0.0008563, allocations: 98.41 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.619e-05/1.611e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7119, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.9092, allocations: 139.2 MB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.9096, allocations: 84.5 kB / 1.1 GB, free: 0.5898 MB / 0.698 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.008578/0.9182, allocations: 2.855 MB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9182, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.9182, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 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.0005711/0.9188, allocations: 442.8 kB / 1.104 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.9189, allocations: 8.875 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.9189, allocations: 8.938 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.9191, allocations: 172.1 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.9192, allocations: 4 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.9192, allocations: 7.969 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.522e-05/0.9193, allocations: 20.84 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.9194, allocations: 57.67 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9194, allocations: 0.5 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9195, allocations: 0.5 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9195, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.92, allocations: 283.4 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.9201, allocations: 36.33 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.9202, allocations: 25.55 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.9202, allocations: 0.6094 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.9204, allocations: 79.22 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.9204, allocations: 0.7812 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002558/0.9206, allocations: 89.61 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.9207, allocations: 56.09 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.9208, allocations: 113.8 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.9208, allocations: 25.7 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.9209, allocations: 89.2 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.9209, allocations: 20.81 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.9209, allocations: 5.156 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9211, allocations: 322.8 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.9211, allocations: 13.16 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.9212, allocations: 53.16 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.9212, allocations: 19.92 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9212, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001555/0.9214, allocations: 89.64 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.9214, allocations: 8 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.9214, allocations: 0 / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9215, allocations: 4 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.9216, allocations: 15.92 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.9216, allocations: 7 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.9216, allocations: 4 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.9217, allocations: 4 kB / 1.105 GB, free: 11.53 MB / 0.7136 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 9.844e-05/0.9218, allocations: 117.6 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.9218, allocations: 11.89 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.9218, allocations: 4.625 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9219, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9219, allocations: 4 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9219, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.9222, allocations: 339 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.9223, allocations: 0 / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.9223, allocations: 8 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9223, allocations: 0 / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.9224, allocations: 4 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.9224, allocations: 1.5 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.9224, allocations: 3.984 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.9226, allocations: 195.3 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.9227, allocations: 85.02 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.9227, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.9228, allocations: 15.92 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.9228, allocations: 8 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.9229, allocations: 3.984 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.9229, allocations: 89.47 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9229, allocations: 0 / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003599/0.9233, allocations: 47.92 kB / 1.106 GB, free: 10.52 MB / 0.7136 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.0004536/0.9238, allocations: 184.3 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.9239, allocations: 47.94 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9239, allocations: 0 / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.924, allocations: 31.92 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.9242, allocations: 9.484 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.9246, allocations: 103.2 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.9249, allocations: 0.6892 MB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.925, allocations: 8.734 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.925, allocations: 7.438 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.925, allocations: 4 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of Templates: time 0.004575/0.9296, allocations: 1.498 MB / 1.109 GB, free: 7.965 MB / 0.7136 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)