Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 174.1 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000743/0.0007431, allocations: 82.38 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8.375 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.19, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00147/0.1915, allocations: 1.211 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1926, allocations: 0.7852 MB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1927, allocations: 7.938 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.1928, allocations: 3.984 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.1928, allocations: 7.875 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.1933, allocations: 99.77 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.1935, allocations: 63.78 kB / 0.8989 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.1935, allocations: 19.94 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1937, allocations: 31.84 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.1937, allocations: 27.84 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1938, allocations: 4 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.194, allocations: 87.91 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.194, allocations: 11.98 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.194, allocations: 31.73 kB / 0.8991 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1942, allocations: 95.83 kB / 0.8992 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1942, allocations: 0 / 0.8992 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1943, allocations: 4 kB / 0.8992 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.1943, allocations: 0 / 0.8992 GB, free: 65.72 MB / 0.6042 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.0005178/0.1948, allocations: 434.7 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1948, allocations: 8.031 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.1949, allocations: 8.844 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.195, allocations: 176.2 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.195, allocations: 8.375 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.195, allocations: 4.375 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1952, allocations: 73.97 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1952, allocations: 0 / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1953, allocations: 0 / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1953, allocations: 3.984 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1954, allocations: 51.91 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1958, allocations: 308.7 kB / 0.9002 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1959, allocations: 46.56 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.196, allocations: 40.97 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.196, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1962, allocations: 83.28 kB / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1962, allocations: 3.938 kB / 0.9004 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003475/0.1966, allocations: 149.7 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1966, allocations: 51.41 kB / 0.9006 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.1967, allocations: 121.8 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1967, allocations: 33.69 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.1967, allocations: 88.14 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1968, allocations: 15.81 kB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.1968, allocations: 21.7 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.1969, allocations: 318.8 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.1969, allocations: 27.98 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.197, allocations: 69.5 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1972, allocations: 89.08 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1972, allocations: 0 / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001995/0.1974, allocations: 125.4 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1974, allocations: 7.984 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1974, allocations: 4 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1974, allocations: 4 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.1975, allocations: 16.16 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1975, allocations: 8.25 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.1976, allocations: 15.92 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1976, allocations: 0 / 0.9015 GB, free: 63.08 MB / 0.6042 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 8.516e-05/0.1977, allocations: 132.3 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.1977, allocations: 7.906 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1978, allocations: 8.375 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1978, allocations: 3.984 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1978, allocations: 4 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1978, allocations: 0 / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.1981, allocations: 394.4 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1982, allocations: 0 / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.1982, allocations: 4 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1982, allocations: 0 / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1982, allocations: 7.984 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1982, allocations: 4 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1982, allocations: 3.938 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1985, allocations: 207.4 kB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.1985, allocations: 85.02 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1985, allocations: 7.984 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.1986, allocations: 8 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1987, allocations: 11.92 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1987, allocations: 0 / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.1987, allocations: 99.42 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1987, allocations: 0 / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002759/0.199, allocations: 39.94 kB / 0.9025 GB, free: 61.97 MB / 0.6042 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.0002908/0.1993, allocations: 153.6 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1995, allocations: 75.89 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1995, allocations: 0 / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/0.1996, allocations: 48.17 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1999, allocations: 11.98 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.2003, allocations: 216.5 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2004, allocations: 0.6926 MB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.2004, allocations: 11.44 kB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2004, allocations: 0 / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.002914/0.2033, allocations: 1.566 MB / 0.9052 GB, free: 59.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)