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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001608/0.001608, allocations: 190.4 kB / 376.9 MB, free: 1.773 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.723/1.723, allocations: 205 MB / 0.6354 GB, free: 9.758 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.001067/0.001067, allocations: 98.33 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2891, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003389/0.2926, allocations: 1.553 MB / 0.9837 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2941, allocations: 0.7605 MB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.2942, allocations: 3.938 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.2943, allocations: 0 / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.2944, allocations: 15.86 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.295, allocations: 95.83 kB / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2951, allocations: 67.72 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2952, allocations: 19.98 kB / 0.9847 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.2953, allocations: 23.92 kB / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.2954, allocations: 39.78 kB / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2954, allocations: 0 / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2956, allocations: 91.91 kB / 0.9848 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.2957, allocations: 7.984 kB / 0.9848 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.2957, allocations: 39.78 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.296, allocations: 135.9 kB / 0.985 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.296, allocations: 3.938 kB / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2961, allocations: 0 / 0.985 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2961, allocations: 0 / 0.985 GB, free: 7.48 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.0006859/0.2968, allocations: 438.7 kB / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2968, allocations: 8.031 kB / 0.9854 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.2969, allocations: 8.844 kB / 0.9854 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.297, allocations: 172.2 kB / 0.9856 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.297, allocations: 8.375 kB / 0.9856 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.2971, allocations: 12.36 kB / 0.9856 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2973, allocations: 65.97 kB / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2973, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.2973, allocations: 8 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2974, allocations: 0 / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2975, allocations: 39.91 kB / 0.9857 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.2981, allocations: 300.7 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.2982, allocations: 46.55 kB / 0.9861 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.2983, allocations: 36.91 kB / 0.9861 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2984, allocations: 0 / 0.9861 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.2986, allocations: 87.31 kB / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.2987, allocations: 0 / 0.9862 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004699/0.2991, allocations: 129.5 kB / 0.9863 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.2992, allocations: 55.41 kB / 0.9864 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2993, allocations: 129.7 kB / 0.9865 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2994, allocations: 29.7 kB / 0.9865 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.2994, allocations: 92.08 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.2995, allocations: 23.86 kB / 0.9866 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.2995, allocations: 25.72 kB / 0.9866 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2997, allocations: 322.8 kB / 0.9869 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.2997, allocations: 23.98 kB / 0.987 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2999, allocations: 61.06 kB / 0.987 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3, allocations: 93.08 kB / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3001, allocations: 0 / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.3003, allocations: 117.4 kB / 0.9872 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3003, allocations: 4 kB / 0.9872 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3003, allocations: 4 kB / 0.9872 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3004, allocations: 0 / 0.9872 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.3005, allocations: 19.97 kB / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3005, allocations: 0 / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.3005, allocations: 15.97 kB / 0.9873 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.3006, allocations: 4 kB / 0.9873 GB, free: 4.875 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 9.916e-05/0.3007, allocations: 129.9 kB / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.3007, allocations: 3.906 kB / 0.9874 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.3007, allocations: 12.38 kB / 0.9874 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3008, allocations: 0 / 0.9874 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3008, allocations: 0 / 0.9874 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3008, allocations: 3.984 kB / 0.9874 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.3013, allocations: 382.7 kB / 0.9878 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3013, allocations: 0 / 0.9878 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.3013, allocations: 7.938 kB / 0.9878 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3013, allocations: 0 / 0.9878 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3013, allocations: 4 kB / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3014, allocations: 4 kB / 0.9878 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3014, allocations: 3.938 kB / 0.9878 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.3021, allocations: 0.7941 MB / 0.9886 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.3021, allocations: 81.05 kB / 0.9887 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3022, allocations: 4 kB / 0.9887 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.3023, allocations: 3.984 kB / 0.9887 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3023, allocations: 4 kB / 0.9887 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3023, allocations: 7.922 kB / 0.9887 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.3024, allocations: 99.2 kB / 0.9888 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3024, allocations: 4 kB / 0.9888 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004525/0.3029, allocations: 39.91 kB / 0.9888 GB, free: 3.156 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.0003939/0.3033, allocations: 157.7 kB / 0.989 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3036, allocations: 68.14 kB / 0.989 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3036, allocations: 4.062 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3037, allocations: 31.98 kB / 0.9891 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.304, allocations: 22.09 kB / 0.9891 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.3045, allocations: 325.5 kB / 0.9894 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3048, allocations: 0.6887 MB / 0.9901 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.3049, allocations: 8.078 kB / 0.9901 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.3049, allocations: 11.44 kB / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.3049, allocations: 0 / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.004221/0.3091, allocations: 1.389 MB / 0.9914 GB, free: 420 kB / 0.7136 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)