Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.896/1.896, allocations: 297.8 MB / 313.7 MB, free: 152 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.0009639/0.000964, allocations: 178.9 kB / 384.6 MB, free: 10.89 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.401/1.401, allocations: 223.2 MB / 0.6626 GB, free: 4.348 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.0007934/0.0007936, allocations: 97.42 kB / 0.7808 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003925, allocations: 8 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6871, allocations: 120.3 MB / 1.026 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.8689, allocations: 143.1 MB / 1.166 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.8692, allocations: 82.77 kB / 1.166 GB, free: 0.7305 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.009116/0.8783, allocations: 2.951 MB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8783, allocations: 3.938 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.8784, allocations: 0 / 1.169 GB, free: 14.62 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.0005146/0.8789, allocations: 445.3 kB / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.8789, allocations: 9.562 kB / 1.169 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.879, allocations: 9.594 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.8791, allocations: 172.2 kB / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.8791, allocations: 5.031 kB / 1.17 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.8791, allocations: 8.375 kB / 1.17 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.8793, allocations: 72 kB / 1.17 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8794, allocations: 192 / 1.17 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8794, allocations: 5.094 kB / 1.17 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8794, allocations: 0.8438 kB / 1.17 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.8795, allocations: 49.89 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.88, allocations: 301.9 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.8802, allocations: 57.17 kB / 1.17 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.8803, allocations: 34.06 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.8803, allocations: 2.266 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.8805, allocations: 80.61 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.8805, allocations: 0 / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.8809, allocations: 151.2 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.881, allocations: 53.19 kB / 1.17 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8811, allocations: 125.9 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.8811, allocations: 25.7 kB / 1.171 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.8812, allocations: 93.92 kB / 1.171 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.8812, allocations: 13.84 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.8812, allocations: 4 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8813, allocations: 327.4 kB / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.8814, allocations: 28.11 kB / 1.171 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.8815, allocations: 65.72 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.8817, allocations: 98.56 kB / 1.171 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8817, allocations: 0 / 1.171 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002209/0.8819, allocations: 120 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.882, allocations: 5.203 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.882, allocations: 5.062 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.882, allocations: 1.688 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.8821, allocations: 18.42 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8821, allocations: 4.703 kB / 1.171 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.8822, allocations: 7.234 kB / 1.171 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.8822, allocations: 4.562 kB / 1.171 GB, free: 12.19 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 9.474e-05/0.8823, allocations: 127.6 kB / 1.171 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.8823, allocations: 9.375 kB / 1.171 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.8823, allocations: 5.641 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.8823, allocations: 5.406 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8823, allocations: 1 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.8824, allocations: 2.75 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.8828, allocations: 390.6 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8828, allocations: 0.6094 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.8829, allocations: 5.359 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8829, allocations: 0 / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.8829, allocations: 5.312 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.8829, allocations: 1.391 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8829, allocations: 0.9375 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.8832, allocations: 217.6 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.8833, allocations: 85.62 kB / 1.172 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.8833, allocations: 0.6562 kB / 1.172 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.8834, allocations: 10.88 kB / 1.172 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.8834, allocations: 19.58 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.8834, allocations: 0.7969 kB / 1.172 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.8835, allocations: 95.52 kB / 1.172 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8835, allocations: 0 / 1.172 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003046/0.8838, allocations: 45.97 kB / 1.172 GB, free: 11.15 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.0003493/0.8842, allocations: 183.9 kB / 1.172 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.8844, allocations: 74.67 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8844, allocations: 0 / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.8845, allocations: 41.28 kB / 1.173 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.8848, allocations: 14.61 kB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.8852, allocations: 208.9 kB / 1.173 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.8855, allocations: 0.6877 MB / 1.173 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.8855, allocations: 10.34 kB / 1.173 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.8855, allocations: 12.09 kB / 1.173 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8856, allocations: 0 / 1.173 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of Templates: time 0.004388/0.8899, allocations: 1.495 MB / 1.175 GB, free: 9.137 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)