Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108.7 kB / 15.99 MB, free: 6.363 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.001743/0.001743, allocations: 191.1 kB / 16.91 MB, free: 6.195 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.371/1.371, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.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.001387/0.001387, allocations: 70.33 kB / 0.6717 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2208, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002722/0.2236, allocations: 1.546 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2248, allocations: 0.7605 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.2249, allocations: 0 / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.2249, allocations: 3.938 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.225, allocations: 11.92 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0004949/0.2255, allocations: 103.8 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.822e-05/0.2256, allocations: 79.72 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.2257, allocations: 7.984 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.2258, allocations: 31.91 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.2258, allocations: 31.91 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2259, allocations: 4 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.226, allocations: 99.84 kB / 0.7861 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.2261, allocations: 11.92 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.2261, allocations: 39.86 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2263, allocations: 96.05 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2263, allocations: 3.938 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2263, allocations: 0 / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2263, allocations: 0 / 0.7863 GB, free: 11.04 MB / 0.6075 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.0005783/0.2269, allocations: 438.7 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2269, allocations: 8.031 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.227, allocations: 8.844 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2271, allocations: 184.2 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.2271, allocations: 4.375 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.2271, allocations: 4.375 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2273, allocations: 69.97 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2273, allocations: 3.938 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2274, allocations: 4 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2274, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2275, allocations: 35.97 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.228, allocations: 300.8 kB / 0.7873 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2281, allocations: 50.56 kB / 0.7873 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.2282, allocations: 32.91 kB / 0.7874 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2282, allocations: 0 / 0.7874 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2285, allocations: 87.22 kB / 0.7874 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.2285, allocations: 3.984 kB / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.2288, allocations: 133.9 kB / 0.7876 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2289, allocations: 59.41 kB / 0.7876 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.229, allocations: 121.8 kB / 0.7878 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.229, allocations: 33.58 kB / 0.7878 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.2291, allocations: 104.1 kB / 0.7879 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.2291, allocations: 7.812 kB / 0.7879 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.2291, allocations: 29.7 kB / 0.7879 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2293, allocations: 326.8 kB / 0.7882 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.2293, allocations: 19.98 kB / 0.7882 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.2294, allocations: 61.14 kB / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.2296, allocations: 89.06 kB / 0.7884 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2296, allocations: 4 kB / 0.7884 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002126/0.2298, allocations: 113.4 kB / 0.7885 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2298, allocations: 4 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2298, allocations: 4.078 kB / 0.7885 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2299, allocations: 0 / 0.7885 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.23, allocations: 19.92 kB / 0.7885 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.23, allocations: 3.984 kB / 0.7885 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.23, allocations: 12.16 kB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2301, allocations: 4 kB / 0.7885 GB, free: 8.43 MB / 0.6075 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 9.631e-05/0.2302, allocations: 130.4 kB / 0.7887 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.2302, allocations: 3.906 kB / 0.7887 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.2302, allocations: 12.36 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2302, allocations: 0 / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2302, allocations: 3.938 kB / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2302, allocations: 0 / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.2307, allocations: 382.5 kB / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2307, allocations: 0 / 0.7891 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.2308, allocations: 4 kB / 0.7891 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2308, allocations: 0 / 0.7891 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.2308, allocations: 3.984 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2308, allocations: 4 kB / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2308, allocations: 7.875 kB / 0.7891 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.2311, allocations: 207.4 kB / 0.7893 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.2311, allocations: 85 kB / 0.7894 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2312, allocations: 8 kB / 0.7894 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.2312, allocations: 0 / 0.7894 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2313, allocations: 11.92 kB / 0.7894 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2313, allocations: 4 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.2314, allocations: 91.27 kB / 0.7895 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2314, allocations: 3.938 kB / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003046/0.2317, allocations: 40 kB / 0.7895 GB, free: 7.348 MB / 0.6075 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.0003135/0.232, allocations: 165.1 kB / 0.7897 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.2322, allocations: 72.09 kB / 0.7897 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2323, allocations: 4.062 kB / 0.7897 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2324, allocations: 39.97 kB / 0.7898 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2326, allocations: 11.98 kB / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.2331, allocations: 234.5 kB / 0.79 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.2334, allocations: 0.6846 MB / 0.7907 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.2334, allocations: 15.42 kB / 0.7907 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2334, allocations: 0 / 0.7907 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.003221/0.2366, allocations: 1.576 MB / 0.7922 GB, free: 4.504 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)