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.001216/0.001216, allocations: 105 kB / 16.29 MB, free: 6.414 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.001218/0.001218, allocations: 189.3 kB / 17.22 MB, free: 5.953 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.539/1.539, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.809/1.809, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.001392/0.001392, allocations: 63.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2805, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002871/0.2834, allocations: 1.492 MB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.285, allocations: 0.7565 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.285, allocations: 4 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.2851, allocations: 7.875 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.3e-05/0.2852, allocations: 15.86 kB / 0.7863 GB, free: 1.598 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.000702/0.2859, allocations: 115.6 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.2861, allocations: 71.77 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2862, allocations: 15.94 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2863, allocations: 35.84 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.2864, allocations: 31.91 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.2864, allocations: 7.938 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2866, allocations: 95.84 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.2867, allocations: 15.98 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.2867, allocations: 27.86 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.287, allocations: 139.9 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.287, allocations: 3.984 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.876e-06/0.287, allocations: 0 / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.287, allocations: 3.938 kB / 0.7868 GB, free: 1.043 MB / 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.0006626/0.2877, allocations: 442.7 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2877, allocations: 8.031 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.2878, allocations: 8.844 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2879, allocations: 176.2 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2879, allocations: 4.375 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.288, allocations: 8.375 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2882, allocations: 73.91 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2882, allocations: 0 / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2882, allocations: 8 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2882, allocations: 0 / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2884, allocations: 39.97 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4571/0.7454, allocations: 284.3 kB / 0.7878 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.7457, allocations: 48.8 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.7458, allocations: 34 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.7458, allocations: 4.891 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.7461, allocations: 75.56 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.7461, allocations: 0 / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000403/0.7465, allocations: 143.8 kB / 0.7881 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.7465, allocations: 55.12 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.7466, allocations: 125.6 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.7466, allocations: 28.39 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.7467, allocations: 98.52 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.7467, allocations: 13.7 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.7468, allocations: 30.84 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.7468, allocations: 317 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.7469, allocations: 24.73 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.747, allocations: 61.47 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.7471, allocations: 92.02 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7471, allocations: 0 / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001876/0.7473, allocations: 119.3 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7473, allocations: 5.5 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7473, allocations: 3.281 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7474, allocations: 0 / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.7475, allocations: 16.73 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7475, allocations: 5.984 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.7475, allocations: 10.8 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.7476, allocations: 3 kB / 0.7891 GB, free: 47.8 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.026e-05/0.7476, allocations: 123.8 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.7477, allocations: 13.41 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.7477, allocations: 11.17 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7477, allocations: 0 / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7477, allocations: 0 / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7477, allocations: 2.625 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.7481, allocations: 389.8 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7481, allocations: 0 / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.7481, allocations: 8.578 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7481, allocations: 0 / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7482, allocations: 0 / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7482, allocations: 2.875 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7482, allocations: 3.5 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.7484, allocations: 205.2 kB / 0.7898 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.7484, allocations: 86.2 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.7485, allocations: 0.5 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.7486, allocations: 10.97 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.7486, allocations: 3.531 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7486, allocations: 8.188 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.7487, allocations: 99.5 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7487, allocations: 0 / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003136/0.749, allocations: 38.06 kB / 0.7901 GB, free: 47.07 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.0003674/0.7494, allocations: 151 kB / 0.7902 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.7496, allocations: 76.45 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7496, allocations: 3.688 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.7497, allocations: 37.67 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.75, allocations: 13.86 kB / 0.7903 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.7505, allocations: 182.7 kB / 0.7905 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.7506, allocations: 0.6921 MB / 0.7912 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.7507, allocations: 6.875 kB / 0.7912 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.7507, allocations: 16.53 kB / 0.7912 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.7507, allocations: 0 / 0.7912 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.003886/0.7546, allocations: 1.434 MB / 0.7926 GB, free: 46.11 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)