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.001481/0.001481, allocations: 109.4 kB / 15.69 MB, free: 128 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.001608/0.001608, allocations: 186.9 kB / 16.62 MB, free: 6.613 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.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.001479/0.001479, allocations: 75.61 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2713, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003348/0.2747, allocations: 1.486 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2762, allocations: 0.7692 MB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.2763, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.2764, allocations: 7.922 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.688e-05/0.2764, allocations: 15.86 kB / 0.7863 GB, free: 10.4 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.0006444/0.2771, allocations: 123.6 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2772, allocations: 71.77 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2773, allocations: 7.984 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.2774, allocations: 35.86 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.2775, allocations: 39.88 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2775, allocations: 4 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2777, allocations: 99.84 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.2778, allocations: 19.92 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.2778, allocations: 23.88 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.2781, allocations: 135.6 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2781, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2781, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2781, allocations: 7.938 kB / 0.7869 GB, free: 9.844 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.0007229/0.2788, allocations: 442.6 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2789, allocations: 8.031 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.2789, allocations: 8.844 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.2791, allocations: 180.2 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2792, allocations: 4.375 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2792, allocations: 8.375 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.2794, allocations: 65.97 kB / 0.7876 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2795, allocations: 4 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2795, allocations: 0 / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2795, allocations: 4 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2796, allocations: 39.91 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2803, allocations: 296.8 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2805, allocations: 46.56 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.2806, allocations: 36.97 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2806, allocations: 4 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.2808, allocations: 79.22 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.2809, allocations: 3.938 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004648/0.2813, allocations: 137.7 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.2814, allocations: 55.41 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2816, allocations: 125.8 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2816, allocations: 33.69 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.2817, allocations: 92.08 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2817, allocations: 11.81 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.2817, allocations: 25.7 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2819, allocations: 326.8 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.282, allocations: 23.92 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2821, allocations: 69.45 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.2823, allocations: 93.06 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2823, allocations: 0 / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.2825, allocations: 113.4 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2826, allocations: 4 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2826, allocations: 4 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2826, allocations: 0 / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.2827, allocations: 24.08 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2827, allocations: 0 / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.2828, allocations: 8 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2828, allocations: 4 kB / 0.7892 GB, free: 7.238 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 0.000128/0.2829, allocations: 129.5 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.283, allocations: 7.906 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.283, allocations: 12.36 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.283, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.283, allocations: 4 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.283, allocations: 0 / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.2835, allocations: 378.4 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2835, allocations: 0 / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.2836, allocations: 8.047 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.2836, allocations: 3.984 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2836, allocations: 7.984 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2836, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2836, allocations: 3.938 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.2839, allocations: 215.3 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.284, allocations: 85.02 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.284, allocations: 0 / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.2841, allocations: 4 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.2841, allocations: 11.86 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2842, allocations: 8 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.2842, allocations: 95.27 kB / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2842, allocations: 0 / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003053/0.2846, allocations: 39.94 kB / 0.7901 GB, free: 6.148 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.0003966/0.285, allocations: 155.2 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.2852, allocations: 75.89 kB / 0.7903 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2852, allocations: 0 / 0.7903 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2854, allocations: 35.92 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.2857, allocations: 18.73 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.2861, allocations: 184.9 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2865, allocations: 0.6912 MB / 0.7912 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2866, allocations: 7.984 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.2866, allocations: 11.44 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2866, allocations: 0 / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.004651/0.2912, allocations: 1.439 MB / 0.7927 GB, free: 3.5 MB / 0.6075 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)