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.001494/0.001494, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001735/0.001735, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.565/1.565, 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.862/1.862, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001755/0.001756, allocations: 71.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.261, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003305/0.2643, allocations: 1.479 MB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2658, allocations: 0.7682 MB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.2659, allocations: 0 / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.2659, allocations: 3.938 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.266, allocations: 19.78 kB / 0.7863 GB, free: 1.547 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.000623/0.2666, allocations: 115.6 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2668, allocations: 71.78 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2669, allocations: 15.98 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.267, allocations: 35.84 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.2671, allocations: 27.91 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2671, allocations: 4 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2673, allocations: 99.84 kB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.2674, allocations: 15.92 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.2674, allocations: 31.86 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2677, allocations: 139.9 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2677, allocations: 0 / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2677, allocations: 0 / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2677, allocations: 0 / 0.7868 GB, free: 1 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.0007177/0.2685, allocations: 442.6 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2685, allocations: 8.031 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.2686, allocations: 8.844 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2687, allocations: 180.2 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.2688, allocations: 8.375 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.2688, allocations: 12.36 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.269, allocations: 69.97 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.269, allocations: 3.984 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.269, allocations: 4 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.269, allocations: 0 / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2692, allocations: 35.97 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5149/0.784, allocations: 289 kB / 0.7878 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.7843, allocations: 53.81 kB / 0.7879 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.7843, allocations: 35.52 kB / 0.7879 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.7844, allocations: 0 / 0.7879 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.7846, allocations: 77.11 kB / 0.788 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.7847, allocations: 0 / 0.788 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004053/0.7851, allocations: 139.4 kB / 0.7881 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.7851, allocations: 57.22 kB / 0.7882 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.7852, allocations: 122.6 kB / 0.7883 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.7852, allocations: 33.83 kB / 0.7883 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.7853, allocations: 95.19 kB / 0.7884 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.7853, allocations: 12.62 kB / 0.7884 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.7854, allocations: 29.09 kB / 0.7885 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.7854, allocations: 318.4 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.7855, allocations: 29.14 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.7856, allocations: 57.09 kB / 0.7889 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.7857, allocations: 92.91 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7858, allocations: 0 / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002031/0.786, allocations: 121.8 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.786, allocations: 4.469 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.786, allocations: 2.969 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.786, allocations: 2.656 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.7861, allocations: 17.91 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7861, allocations: 3.5 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.7862, allocations: 10.62 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.7862, allocations: 6.094 kB / 0.7891 GB, free: 48.36 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.646e-05/0.7863, allocations: 121.4 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.7863, allocations: 7.062 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.7864, allocations: 13.48 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7864, allocations: 2.062 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7864, allocations: 1.625 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7864, allocations: 2.656 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.7868, allocations: 382.6 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7868, allocations: 3 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.7868, allocations: 6.094 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.7868, allocations: 2.156 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.7869, allocations: 0 / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.7869, allocations: 1 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7869, allocations: 5.516 kB / 0.7896 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.7871, allocations: 209.9 kB / 0.7898 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.7872, allocations: 84.14 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.7872, allocations: 0.5 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.7873, allocations: 13.36 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.7873, allocations: 2.625 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.7873, allocations: 6.203 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.7874, allocations: 96.34 kB / 0.79 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7874, allocations: 1.062 kB / 0.79 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003282/0.7877, allocations: 39.17 kB / 0.7901 GB, free: 47.63 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.0003677/0.7881, allocations: 158.3 kB / 0.7902 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.7883, allocations: 72.34 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7883, allocations: 3.938 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.7884, allocations: 33.33 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.7887, allocations: 16.98 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.7891, allocations: 194 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.7893, allocations: 0.6873 MB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.7893, allocations: 8.016 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.7893, allocations: 13.02 kB / 0.7912 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.7893, allocations: 2.781 kB / 0.7912 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.004179/0.7935, allocations: 1.431 MB / 0.7926 GB, free: 46.67 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)