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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 188.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205 MB / 0.6353 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 93.14 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.286, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003249/0.2893, allocations: 1.545 MB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2907, allocations: 0.7645 MB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.2908, allocations: 4 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.2909, allocations: 3.938 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.291, allocations: 7.922 kB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.2916, allocations: 99.77 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2917, allocations: 67.72 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2918, allocations: 19.98 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.2919, allocations: 23.92 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.292, allocations: 39.83 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2921, allocations: 0 / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.2923, allocations: 91.84 kB / 0.9848 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.2923, allocations: 11.98 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.2924, allocations: 31.8 kB / 0.9849 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.2927, allocations: 131.9 kB / 0.985 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2927, allocations: 8 kB / 0.985 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2927, allocations: 0 / 0.985 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2927, allocations: 4 kB / 0.985 GB, free: 7.523 MB / 0.7136 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.0006721/0.2934, allocations: 438.7 kB / 0.9854 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2934, allocations: 8.031 kB / 0.9854 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.2935, allocations: 12.84 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2936, allocations: 172.2 kB / 0.9856 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.2937, allocations: 4.375 kB / 0.9856 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.2937, allocations: 12.38 kB / 0.9856 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2939, allocations: 69.95 kB / 0.9857 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2939, allocations: 3.984 kB / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2939, allocations: 4 kB / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.294, allocations: 0 / 0.9857 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2941, allocations: 39.91 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.2947, allocations: 308.6 kB / 0.986 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2948, allocations: 46.56 kB / 0.9861 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.2949, allocations: 32.95 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.2949, allocations: 4 kB / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2951, allocations: 79.31 kB / 0.9862 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.2952, allocations: 0 / 0.9862 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000428/0.2956, allocations: 137.6 kB / 0.9863 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2957, allocations: 55.41 kB / 0.9864 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.2958, allocations: 129.7 kB / 0.9865 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2958, allocations: 29.7 kB / 0.9865 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.2958, allocations: 92.08 kB / 0.9866 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.2959, allocations: 15.8 kB / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.2959, allocations: 25.72 kB / 0.9866 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2961, allocations: 326.8 kB / 0.9869 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.2962, allocations: 19.98 kB / 0.987 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/0.2963, allocations: 61.08 kB / 0.987 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2965, allocations: 97.05 kB / 0.9871 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2965, allocations: 0 / 0.9871 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.2967, allocations: 117.4 kB / 0.9872 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2967, allocations: 6.812 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2967, allocations: 4 kB / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2968, allocations: 0 / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.2969, allocations: 15.98 kB / 0.9873 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2969, allocations: 3.938 kB / 0.9873 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.2969, allocations: 8 kB / 0.9873 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.297, allocations: 4 kB / 0.9873 GB, free: 4.918 MB / 0.7136 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.0001091/0.2971, allocations: 133.9 kB / 0.9874 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.2971, allocations: 3.906 kB / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.2971, allocations: 12.38 kB / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2972, allocations: 0 / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2972, allocations: 0 / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2972, allocations: 0 / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.2977, allocations: 378.4 kB / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2977, allocations: 4 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.2977, allocations: 11.92 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2977, allocations: 0 / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2977, allocations: 4 kB / 0.9878 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.2978, allocations: 4 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2978, allocations: 3.938 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.2984, allocations: 0.7902 MB / 0.9886 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.2985, allocations: 81.05 kB / 0.9887 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.2985, allocations: 8 kB / 0.9887 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.2986, allocations: 7.922 kB / 0.9887 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.2987, allocations: 4 kB / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2987, allocations: 4 kB / 0.9887 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.2988, allocations: 91.27 kB / 0.9888 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2988, allocations: 0 / 0.9888 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003891/0.2992, allocations: 47.89 kB / 0.9888 GB, free: 3.199 MB / 0.7136 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.0003643/0.2995, allocations: 166 kB / 0.989 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2998, allocations: 68.14 kB / 0.989 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2998, allocations: 4.062 kB / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2999, allocations: 39.95 kB / 0.9891 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3002, allocations: 11.94 kB / 0.9891 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.3007, allocations: 325.5 kB / 0.9894 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.301, allocations: 0.6917 MB / 0.9901 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.301, allocations: 4 kB / 0.9901 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3011, allocations: 11.44 kB / 0.9901 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.3011, allocations: 0 / 0.9901 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.00411/0.3052, allocations: 1.382 MB / 0.9914 GB, free: 464 kB / 0.7136 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)