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.001036/0.001036, allocations: 105 kB / 16.36 MB, free: 6.426 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.0009995/0.0009996, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.362/1.362, 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.912/1.912, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001428/0.001428, allocations: 75.89 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2081, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003776/0.2119, allocations: 1.491 MB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2137, allocations: 0.7605 MB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.2138, allocations: 0 / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.2139, allocations: 3.938 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.214, allocations: 15.86 kB / 0.787 GB, free: 0.9141 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.0006951/0.2147, allocations: 111.6 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.2148, allocations: 87.64 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.2149, allocations: 8 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.215, allocations: 35.91 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.2151, allocations: 31.84 kB / 0.7873 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2151, allocations: 8 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2153, allocations: 95.84 kB / 0.7874 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.2153, allocations: 11.98 kB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.2154, allocations: 35.86 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2156, allocations: 131.6 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2156, allocations: 3.938 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2156, allocations: 0 / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2156, allocations: 4 kB / 0.7875 GB, free: 368 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.3909/0.6065, allocations: 435.8 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.6066, allocations: 11.94 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.6067, allocations: 7.531 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.6068, allocations: 176.8 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.6069, allocations: 4.281 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.6069, allocations: 7.734 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.6071, allocations: 74.38 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6072, allocations: 2.625 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.6072, allocations: 3.938 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.6072, allocations: 0 / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.6073, allocations: 38.91 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.6078, allocations: 295.8 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.6079, allocations: 55.77 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.608, allocations: 34.03 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.6081, allocations: 1.016 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.6083, allocations: 79.48 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.6083, allocations: 0.7188 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004169/0.6088, allocations: 133.2 kB / 0.7888 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6088, allocations: 56.5 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.6089, allocations: 127.2 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.6089, allocations: 32.52 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.609, allocations: 91.56 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.609, allocations: 18.09 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.609, allocations: 25.33 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.485e-05/0.6091, allocations: 324.7 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.6092, allocations: 22.16 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.6092, allocations: 61.38 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.6094, allocations: 93 kB / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6094, allocations: 0 / 0.7896 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001983/0.6096, allocations: 110.2 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6096, allocations: 8.969 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6096, allocations: 0 / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6097, allocations: 11.83 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.6098, allocations: 14.69 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6098, allocations: 3.375 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.6098, allocations: 13.25 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.6099, allocations: 9.922 kB / 0.7898 GB, free: 47.46 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 7.216e-05/0.6099, allocations: 126.2 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.61, allocations: 6.531 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.61, allocations: 15.27 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.61, allocations: 0 / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.61, allocations: 0 / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.61, allocations: 3.781 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.6104, allocations: 376.1 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6104, allocations: 0 / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.6104, allocations: 5.297 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6105, allocations: 3.25 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6105, allocations: 3.719 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6105, allocations: 0 / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6105, allocations: 0.9688 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.6107, allocations: 217.5 kB / 0.7905 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.6108, allocations: 82.92 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.6108, allocations: 4.25 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.6109, allocations: 5.688 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.6109, allocations: 9.922 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.611, allocations: 5.938 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.611, allocations: 97.53 kB / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.611, allocations: 0 / 0.7907 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003232/0.6113, allocations: 36.25 kB / 0.7908 GB, free: 46.72 MB / 0.6544 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.0003441/0.6117, allocations: 163.2 kB / 0.7909 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.6119, allocations: 77.73 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6119, allocations: 0.5312 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.612, allocations: 38.78 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.6123, allocations: 10.84 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.6127, allocations: 182.2 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.6129, allocations: 0.6856 MB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.6129, allocations: 8.5 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.6129, allocations: 10.06 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.6129, allocations: 0 / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.003779/0.6167, allocations: 1.44 MB / 0.7933 GB, free: 45.75 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)