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.001171/0.001172, allocations: 114.1 kB / 16.37 MB, free: 6.012 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.001203/0.001203, allocations: 189.9 kB / 17.31 MB, free: 5.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.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.902/1.902, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001395/0.001395, allocations: 68.12 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2102, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00264/0.2129, allocations: 1.504 MB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2142, allocations: 0.7605 MB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.2142, allocations: 0 / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.2143, allocations: 3.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.2144, allocations: 15.86 kB / 0.787 GB, free: 0.8398 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.00056/0.2149, allocations: 115.6 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.215, allocations: 71.72 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.2152, allocations: 23.97 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.2152, allocations: 27.92 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.2153, allocations: 27.84 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2153, allocations: 8 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.2155, allocations: 95.84 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.2155, allocations: 15.98 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.2156, allocations: 35.78 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.2158, allocations: 139.6 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2158, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2158, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2159, allocations: 4 kB / 0.7876 GB, free: 292 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.3296/0.5455, allocations: 436.1 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5455, allocations: 10.56 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.5456, allocations: 9.016 kB / 0.788 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.454e-05/0.5457, allocations: 174.8 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.5457, allocations: 5.406 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.5458, allocations: 3.844 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.546, allocations: 70.77 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.546, allocations: 0.8438 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.546, allocations: 3.938 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.546, allocations: 3.312 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.5462, allocations: 46.75 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.5466, allocations: 294.9 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.5467, allocations: 51.25 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.5468, allocations: 30.44 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.5469, allocations: 8.438 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.547, allocations: 77.77 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.547, allocations: 2.531 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003699/0.5474, allocations: 133.5 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5474, allocations: 56.81 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.5475, allocations: 127.3 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5475, allocations: 27.95 kB / 0.7891 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.5476, allocations: 94.75 kB / 0.7892 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.5476, allocations: 10.95 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.5476, allocations: 29.59 kB / 0.7892 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.5477, allocations: 324.4 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.5478, allocations: 20.47 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.5478, allocations: 65.7 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.548, allocations: 92.84 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.548, allocations: 0 / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001822/0.5482, allocations: 117 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5482, allocations: 6.594 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5482, allocations: 0 / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5482, allocations: 2.625 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.5483, allocations: 14.75 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5483, allocations: 5.719 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.5484, allocations: 8.438 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.5484, allocations: 8.156 kB / 0.7898 GB, free: 47.58 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.132e-05/0.5485, allocations: 122.7 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.5485, allocations: 10.36 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.5485, allocations: 5.562 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5485, allocations: 3.797 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5485, allocations: 1.047 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5485, allocations: 1.844 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.5489, allocations: 384.9 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5489, allocations: 0 / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.549, allocations: 5.656 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.549, allocations: 1.594 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.549, allocations: 7.641 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.549, allocations: 1.406 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.549, allocations: 0 / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.5492, allocations: 214.5 kB / 0.7906 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.5493, allocations: 83.64 kB / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.5493, allocations: 3.219 kB / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.5494, allocations: 9.016 kB / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.5494, allocations: 11.59 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.5494, allocations: 3.25 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.5495, allocations: 94.48 kB / 0.7907 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5495, allocations: 0 / 0.7907 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003087/0.5498, allocations: 41.83 kB / 0.7908 GB, free: 46.84 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.0003147/0.5501, allocations: 160.1 kB / 0.7909 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.5504, allocations: 67.45 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5504, allocations: 1.844 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.5505, allocations: 38.19 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5507, allocations: 11.98 kB / 0.7911 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.5511, allocations: 215.6 kB / 0.7913 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.5513, allocations: 0.6875 MB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.5513, allocations: 10.84 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5513, allocations: 1.75 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.003133/0.5544, allocations: 1.588 MB / 0.7935 GB, free: 45.81 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)