Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001631/0.001631, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001928/0.001928, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.295/1.295, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001416/0.001416, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1891, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002569/0.1917, allocations: 1.5 MB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1928, allocations: 0.7721 MB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.1928, allocations: 0 / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.1929, allocations: 7.922 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.1929, allocations: 11.86 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0004945/0.1934, allocations: 111.6 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.1935, allocations: 75.75 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.1936, allocations: 8 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.1937, allocations: 39.86 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.1938, allocations: 27.91 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1938, allocations: 11.98 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.194, allocations: 87.86 kB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.194, allocations: 27.84 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.1941, allocations: 31.86 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1943, allocations: 131.6 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1943, allocations: 0 / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1943, allocations: 4 kB / 0.7876 GB, free: 348 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1943, allocations: 4 kB / 0.7876 GB, free: 344 kB / 0.6544 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.3134/0.5077, allocations: 438.1 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5078, allocations: 8.781 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.5078, allocations: 8 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.5079, allocations: 176.1 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.508, allocations: 3.125 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.508, allocations: 5.875 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.5082, allocations: 70.38 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5082, allocations: 0.8438 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5082, allocations: 5.156 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5083, allocations: 0.8438 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.5084, allocations: 42.3 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.5088, allocations: 301.1 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.509, allocations: 51.64 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.5091, allocations: 33.16 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.5091, allocations: 0.8438 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.5093, allocations: 79.97 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.5093, allocations: 0 / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003679/0.5097, allocations: 141.2 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.5097, allocations: 54.03 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.5098, allocations: 125.3 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.5098, allocations: 25.7 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.5098, allocations: 89.75 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.5099, allocations: 20.98 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.5099, allocations: 23.34 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.51, allocations: 319.7 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.51, allocations: 22.09 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.5101, allocations: 67.53 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.5102, allocations: 91.33 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5103, allocations: 2.312 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001935/0.5105, allocations: 114.3 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5105, allocations: 7.719 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5105, allocations: 3.281 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5105, allocations: 0 / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.5106, allocations: 17.45 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5106, allocations: 4.125 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.5107, allocations: 8.375 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.5107, allocations: 4.359 kB / 0.7898 GB, free: 47.45 MB / 0.6544 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 6.003e-05/0.5108, allocations: 130.8 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.5108, allocations: 6.938 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.5108, allocations: 9.438 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5108, allocations: 0 / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5108, allocations: 1 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.5108, allocations: 92.61 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.5109, allocations: 1.125 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.5109, allocations: 3.562 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.511, allocations: 12.77 kB / 0.7901 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002512/0.5112, allocations: 190.7 kB / 0.7902 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002325/0.5115, allocations: 280.6 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.378e-05/0.5116, allocations: 31.48 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.5116, allocations: 95.86 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Backend: time 2.8e-07/0.5116, allocations: 0 / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006264/0.5123, allocations: 184.8 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000342/0.5126, allocations: 0.6208 MB / 0.7914 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.00353/0.5162, allocations: 1.429 MB / 0.7928 GB, free: 46.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)