Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 268 MB, free: 10.85 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.001034/0.001034, allocations: 179.4 kB / 327.6 MB, free: 2.094 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.835/1.835, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007421/0.000742, allocations: 85.62 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 12.81 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1916, allocations: 106.3 MB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001462/0.1931, allocations: 1.196 MB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005963/0.1938, allocations: 495.3 kB / 0.9031 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.1938, allocations: 0 / 0.9031 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.1939, allocations: 3.938 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.1939, allocations: 4 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.1941, allocations: 23.92 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.1942, allocations: 43.91 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.1943, allocations: 8 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.1943, allocations: 27.91 kB / 0.9032 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.1944, allocations: 19.86 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1944, allocations: 4 kB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.1944, allocations: 0 / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.1944, allocations: 15.92 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1945, allocations: 37.64 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.523e-05/0.1946, allocations: 27.94 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1946, allocations: 0 / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1946, allocations: 3.938 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1946, allocations: 0 / 0.9033 GB, free: 61.46 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004118/0.195, allocations: 355.7 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.195, allocations: 8.031 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.1951, allocations: 8.844 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.1952, allocations: 172.4 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1952, allocations: 4.375 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1952, allocations: 4.375 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.1953, allocations: 69.92 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1953, allocations: 0 / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1953, allocations: 0 / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1954, allocations: 0 / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.1954, allocations: 27.98 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1958, allocations: 308.6 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.1959, allocations: 54.56 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.196, allocations: 28.94 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.196, allocations: 0 / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.1961, allocations: 75.36 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1962, allocations: 0 / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000189/0.1964, allocations: 105.5 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1964, allocations: 55.41 kB / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.1964, allocations: 105.8 kB / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1965, allocations: 29.7 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.1965, allocations: 88.03 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1965, allocations: 19.8 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.1965, allocations: 4 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.1966, allocations: 318.8 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.1966, allocations: 23.98 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.1967, allocations: 39.42 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.1967, allocations: 75.47 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1968, allocations: 0 / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00012/0.1969, allocations: 105.5 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1969, allocations: 8.031 kB / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1969, allocations: 0 / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1969, allocations: 4 kB / 0.9053 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.197, allocations: 11.98 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.197, allocations: 0 / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1971, allocations: 11.94 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1971, allocations: 8 kB / 0.9053 GB, free: 59.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.399e-05/0.1972, allocations: 127.7 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1972, allocations: 7.906 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.1972, allocations: 11.97 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1972, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1972, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1972, allocations: 0 / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.1975, allocations: 354.8 kB / 0.9058 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1975, allocations: 4 kB / 0.9058 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.1976, allocations: 8.078 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1976, allocations: 7.938 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1976, allocations: 0 / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1976, allocations: 3.938 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1976, allocations: 0 / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1977, allocations: 183.4 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.1978, allocations: 81.11 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1978, allocations: 0 / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.1979, allocations: 19.92 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1979, allocations: 4 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1979, allocations: 7.984 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.198, allocations: 83.28 kB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.198, allocations: 0 / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002104/0.1982, allocations: 12 kB / 0.9062 GB, free: 58.14 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 7.94e-05/0.1983, allocations: 103.4 kB / 0.9063 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1984, allocations: 59.98 kB / 0.9064 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1984, allocations: 0 / 0.9064 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.1985, allocations: 27.94 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1987, allocations: 16.09 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.1991, allocations: 210.3 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.881e-05/0.1992, allocations: 0.6848 MB / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.1992, allocations: 11.44 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.1992, allocations: 0 / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.00176/0.201, allocations: 0.8548 MB / 0.9081 GB, free: 56.12 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)