Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.764/1.764, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 191.1 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 0.6626 GB, free: 4.211 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008277/0.0008278, allocations: 90.91 kB / 0.7808 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003647, allocations: 16.53 kB / 0.9088 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5972, allocations: 120.3 MB / 1.026 GB, free: 55.71 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.7709, allocations: 143.1 MB / 1.166 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.7711, allocations: 85.08 kB / 1.166 GB, free: 0.7109 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.008573/0.7797, allocations: 2.937 MB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7797, allocations: 4.562 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7798, allocations: 5.125 kB / 1.169 GB, free: 14.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.0004498/0.7802, allocations: 445.2 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.7803, allocations: 13.12 kB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.7803, allocations: 6.562 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.7804, allocations: 174.6 kB / 1.17 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.7804, allocations: 5.094 kB / 1.17 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.7804, allocations: 7.234 kB / 1.17 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.7806, allocations: 66.97 kB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7806, allocations: 1.641 kB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.7807, allocations: 7.938 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7807, allocations: 2.297 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.7808, allocations: 47.55 kB / 1.17 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.7813, allocations: 304 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.7814, allocations: 53.25 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.7815, allocations: 39.28 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.7815, allocations: 0 / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.7817, allocations: 87.3 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.7817, allocations: 0 / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003726/0.7821, allocations: 141.5 kB / 1.17 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.7821, allocations: 57.41 kB / 1.17 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.7822, allocations: 125.4 kB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.7822, allocations: 29.7 kB / 1.171 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.7823, allocations: 86.77 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.7823, allocations: 17.17 kB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.7823, allocations: 5.969 kB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7824, allocations: 326.4 kB / 1.171 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.7825, allocations: 24.17 kB / 1.171 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.7826, allocations: 65.5 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.7828, allocations: 96.14 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7828, allocations: 5.594 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002276/0.783, allocations: 119.3 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7831, allocations: 4 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7831, allocations: 3.406 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7831, allocations: 4 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.7832, allocations: 18.56 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.7832, allocations: 0.6094 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.7832, allocations: 9.078 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.7833, allocations: 4.609 kB / 1.171 GB, free: 12.17 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 () * 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.849e-05/0.7834, allocations: 131.5 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.7834, allocations: 8.844 kB / 1.171 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.7834, allocations: 11.23 kB / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7834, allocations: 0 / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7834, allocations: 0.5625 kB / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7834, allocations: 4.562 kB / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.7839, allocations: 386.3 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7839, allocations: 0 / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.7839, allocations: 10.31 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7839, allocations: 0 / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.784, allocations: 1.078 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.784, allocations: 0 / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.784, allocations: 0.8906 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.7843, allocations: 227.6 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.7843, allocations: 81.67 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.7843, allocations: 9.656 kB / 1.172 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.7844, allocations: 9.25 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.7845, allocations: 6.375 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7845, allocations: 5.781 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.7845, allocations: 92.42 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7845, allocations: 0 / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003267/0.7849, allocations: 49.92 kB / 1.172 GB, free: 11.13 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 () * 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.0003438/0.7852, allocations: 179.3 kB / 1.172 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.7855, allocations: 79.34 kB / 1.173 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7855, allocations: 0 / 1.173 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.7856, allocations: 36.91 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.7858, allocations: 9.922 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.7862, allocations: 211.5 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.7864, allocations: 0.6874 MB / 1.173 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.7865, allocations: 5.828 kB / 1.173 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.7865, allocations: 12.05 kB / 1.173 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.7865, allocations: 0 / 1.173 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.004132/0.7907, allocations: 1.512 MB / 1.175 GB, free: 9.113 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)