Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 193.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 251.7 MB / 0.5089 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 59.91 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.5327, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002589/0.5354, allocations: 1.554 MB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.5366, allocations: 0.7679 MB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.5366, allocations: 0 / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.5367, allocations: 3.938 kB / 0.7263 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.5368, allocations: 11.92 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 NFTyping.typeClassSections: time 0.000538/0.5374, allocations: 107.8 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.5375, allocations: 75.72 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.5376, allocations: 8 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.5377, allocations: 31.91 kB / 0.7265 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.5377, allocations: 35.84 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.5377, allocations: 4 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.5379, allocations: 99.84 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.5379, allocations: 11.92 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.538, allocations: 39.84 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.5382, allocations: 125.7 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5382, allocations: 0 / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5382, allocations: 4 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.5382, allocations: 0 / 0.7268 GB, free: 10.2 MB / 0.545 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.0005696/0.5388, allocations: 454.5 kB / 0.7272 GB, free: 9.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5388, allocations: 8.031 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.5389, allocations: 8.844 kB / 0.7272 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.539, allocations: 176.2 kB / 0.7274 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.539, allocations: 4.375 kB / 0.7274 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.539, allocations: 8.375 kB / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5392, allocations: 69.97 kB / 0.7275 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5393, allocations: 0 / 0.7275 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5393, allocations: 4 kB / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5393, allocations: 0 / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.5394, allocations: 35.97 kB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.5399, allocations: 308.7 kB / 0.7278 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.54, allocations: 54.5 kB / 0.7279 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.5401, allocations: 28.97 kB / 0.7279 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.5401, allocations: 4 kB / 0.7279 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.5403, allocations: 71.38 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.5403, allocations: 3.938 kB / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.5407, allocations: 141.5 kB / 0.7281 GB, free: 8.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.5408, allocations: 59.39 kB / 0.7282 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.5408, allocations: 117.8 kB / 0.7283 GB, free: 8.469 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.5409, allocations: 25.7 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.5409, allocations: 96.12 kB / 0.7284 GB, free: 8.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.5409, allocations: 19.75 kB / 0.7284 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.541, allocations: 29.7 kB / 0.7284 GB, free: 8.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.5411, allocations: 326.8 kB / 0.7288 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.5412, allocations: 19.98 kB / 0.7288 GB, free: 7.938 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.5412, allocations: 61.12 kB / 0.7288 GB, free: 7.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.5414, allocations: 93.02 kB / 0.7289 GB, free: 7.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5414, allocations: 0 / 0.7289 GB, free: 7.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002011/0.5416, allocations: 117.5 kB / 0.729 GB, free: 7.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5416, allocations: 4 kB / 0.729 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5416, allocations: 7.984 kB / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5417, allocations: 0 / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.5418, allocations: 12 kB / 0.7291 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5418, allocations: 0 / 0.7291 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.5418, allocations: 15.89 kB / 0.7291 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.5419, allocations: 4 kB / 0.7291 GB, free: 7.586 MB / 0.545 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/0.5419, allocations: 129.8 kB / 0.7292 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.542, allocations: 0 / 0.7292 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.542, allocations: 12.38 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.542, allocations: 0 / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.542, allocations: 3.984 kB / 0.7292 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.542, allocations: 3.984 kB / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.5424, allocations: 382.3 kB / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5424, allocations: 0 / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.5425, allocations: 8 kB / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5425, allocations: 0 / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5425, allocations: 7.984 kB / 0.7296 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5425, allocations: 0 / 0.7296 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5425, allocations: 3.938 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.5428, allocations: 203.9 kB / 0.7298 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.5428, allocations: 88.95 kB / 0.7299 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.5428, allocations: 7.984 kB / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.5429, allocations: 4 kB / 0.7299 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.543, allocations: 11.92 kB / 0.7299 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.543, allocations: 4 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.5431, allocations: 99.86 kB / 0.73 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5431, allocations: 3.938 kB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003014/0.5434, allocations: 36 kB / 0.73 GB, free: 6.496 MB / 0.545 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,occ.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003114/0.5437, allocations: 158.8 kB / 0.7302 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.5439, allocations: 71.89 kB / 0.7303 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5439, allocations: 0 / 0.7303 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.544, allocations: 35.98 kB / 0.7303 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.5443, allocations: 16.23 kB / 0.7303 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.5447, allocations: 208.8 kB / 0.7305 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.5449, allocations: 0.6885 MB / 0.7312 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.458e-05/0.545, allocations: 8 kB / 0.7312 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.545, allocations: 15.36 kB / 0.7312 GB, free: 5.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.545, allocations: 0 / 0.7312 GB, free: 5.258 MB / 0.545 GB Notification: Performance of Templates: time 0.00386/0.5489, allocations: 1.405 MB / 0.7326 GB, free: 3.863 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)