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.001134/0.001134, allocations: 107.1 kB / 16.36 MB, free: 6.309 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.001123/0.001123, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.287/1.287, 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.73/1.73, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001472/0.001473, allocations: 75.02 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.199, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002575/0.2016, allocations: 1.502 MB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2028, allocations: 0.7682 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.2029, allocations: 0 / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.2029, allocations: 3.938 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.203, allocations: 19.84 kB / 0.787 GB, free: 0.8633 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.0005279/0.2035, allocations: 119.6 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2036, allocations: 75.7 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.2037, allocations: 4 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.2038, allocations: 35.91 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.2039, allocations: 27.91 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2039, allocations: 11.94 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.2041, allocations: 99.84 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.2041, allocations: 11.98 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.2042, allocations: 31.86 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2044, allocations: 131.6 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2044, allocations: 8 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2044, allocations: 0 / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2044, allocations: 3.938 kB / 0.7876 GB, free: 320 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.3229/0.5273, allocations: 432.9 kB / 0.788 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5273, allocations: 9.562 kB / 0.788 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.5274, allocations: 8.156 kB / 0.788 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.5275, allocations: 177.6 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.5275, allocations: 3.281 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.5275, allocations: 10.72 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.5277, allocations: 68.78 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.5278, allocations: 2.156 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5278, allocations: 5.531 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5278, allocations: 0 / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.5279, allocations: 41.47 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.5284, allocations: 296.9 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.5285, allocations: 53.09 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.5286, allocations: 35.16 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.5286, allocations: 3.844 kB / 0.7887 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.5288, allocations: 76.17 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5288, allocations: 2.625 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/0.5292, allocations: 140.4 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.5292, allocations: 55.34 kB / 0.7889 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.5293, allocations: 126 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.5293, allocations: 28.58 kB / 0.7891 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5294, allocations: 86.98 kB / 0.7891 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.5294, allocations: 18.77 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.5294, allocations: 27.53 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.5295, allocations: 313.7 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.5296, allocations: 27.41 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.5296, allocations: 61.66 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5298, allocations: 95.34 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5298, allocations: 0 / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000195/0.53, allocations: 116.7 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.53, allocations: 9.562 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.53, allocations: 0 / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.53, allocations: 2.844 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.5301, allocations: 19.22 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5302, allocations: 0 / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.5302, allocations: 13.2 kB / 0.7898 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5302, allocations: 6.281 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 5.947e-05/0.5303, allocations: 124.2 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.5303, allocations: 6.75 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.5304, allocations: 10.98 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5304, allocations: 3.625 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5304, allocations: 3.047 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.5304, allocations: 86.3 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.5304, allocations: 2.75 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.5305, allocations: 6.203 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5305, allocations: 11.22 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002455/0.5308, allocations: 189.3 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002358/0.531, allocations: 276.6 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.45e-05/0.5311, allocations: 37.94 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.5312, allocations: 97.03 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of Backend: time 4.51e-07/0.5312, allocations: 0.5312 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006098/0.5318, allocations: 178.1 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003408/0.5321, allocations: 0.6233 MB / 0.7914 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.003501/0.5357, allocations: 1.423 MB / 0.7928 GB, free: 46.25 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)