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.001456/0.001461, allocations: 101.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.002091, allocations: 193.1 kB / 16.63 MB, free: 6.328 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.764/1.764, allocations: 292.3 MB / 0.5489 GB, free: 12.72 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.002274/0.002274, allocations: 67.92 kB / 0.6722 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3135, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003565/0.3171, allocations: 1.48 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3188, allocations: 0.7614 MB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.3189, allocations: 3.938 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.3189, allocations: 7.922 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.319, allocations: 11.88 kB / 0.7863 GB, free: 10.45 MB / 0.6075 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.0007647/0.3198, allocations: 119.6 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.32, allocations: 75.75 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3201, allocations: 12 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3202, allocations: 31.86 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.3203, allocations: 27.91 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3203, allocations: 8 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.3206, allocations: 95.84 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.3206, allocations: 23.91 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.3207, allocations: 31.86 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.321, allocations: 135.6 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.321, allocations: 0 / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.321, allocations: 0 / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.321, allocations: 0 / 0.7869 GB, free: 9.895 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.0007179/0.3218, allocations: 442.6 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3218, allocations: 12.03 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.3219, allocations: 12.84 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.322, allocations: 180.2 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.3221, allocations: 384 / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3221, allocations: 4.375 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.3223, allocations: 73.97 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3224, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3224, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3224, allocations: 0 / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3225, allocations: 39.95 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.3231, allocations: 308.7 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3233, allocations: 50.56 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.3234, allocations: 36.97 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3234, allocations: 0 / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.3236, allocations: 79.28 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3236, allocations: 0 / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004283/0.3241, allocations: 141.6 kB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3241, allocations: 55.41 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3243, allocations: 125.7 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3243, allocations: 25.7 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.3244, allocations: 104.1 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3244, allocations: 11.81 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.3245, allocations: 29.7 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3246, allocations: 318.8 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.3247, allocations: 19.98 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.3248, allocations: 73.06 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.325, allocations: 92.98 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.325, allocations: 11.94 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002319/0.3252, allocations: 109.4 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3252, allocations: 8 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3253, allocations: 0 / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3253, allocations: 4 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.3254, allocations: 8 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3254, allocations: 7.984 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.3255, allocations: 8.156 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3255, allocations: 4 kB / 0.7892 GB, free: 7.273 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.566e-05/0.3256, allocations: 129.7 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.3256, allocations: 7.906 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.3256, allocations: 8.359 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3257, allocations: 4 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3257, allocations: 0 / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3257, allocations: 0 / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3261, allocations: 386.4 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3262, allocations: 0 / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.3262, allocations: 0 / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3262, allocations: 4 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3262, allocations: 3.984 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3262, allocations: 0 / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3262, allocations: 3.938 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3265, allocations: 203.4 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3266, allocations: 89 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3266, allocations: 4 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.3267, allocations: 4 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3268, allocations: 15.92 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3268, allocations: 3.938 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.3268, allocations: 95.2 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3268, allocations: 0 / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003017/0.3271, allocations: 44 kB / 0.7901 GB, free: 6.188 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.0003754/0.3275, allocations: 158.5 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3278, allocations: 72.36 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3278, allocations: 4.312 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3279, allocations: 31.98 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3282, allocations: 21.5 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.3287, allocations: 184.8 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.329, allocations: 0.6908 MB / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.329, allocations: 8 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.3291, allocations: 19.42 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3291, allocations: 0 / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.005273/0.3343, allocations: 1.423 MB / 0.7927 GB, free: 3.551 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)