Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001085/0.001085, allocations: 172.1 kB / 326.5 MB, free: 2.688 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.649/1.649, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0006827/0.0006825, allocations: 87.89 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 8.906 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.207, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008132/0.2078, allocations: 291.2 kB / 0.897 GB, free: 67.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.47e-05/0.2079, allocations: 7.938 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.2079, allocations: 0 / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.208, allocations: 0 / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.026e-05/0.208, allocations: 0 / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.29e-05/0.208, allocations: 0 / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.2081, allocations: 0 / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.2082, allocations: 7.984 kB / 0.8971 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.687e-05/0.2082, allocations: 11.92 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.062e-05/0.2082, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.2082, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-06/0.2082, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.2083, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.2083, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.619e-05/0.2084, allocations: 8 kB / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2084, allocations: 0 / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2084, allocations: 3.938 kB / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2084, allocations: 0 / 0.8971 GB, free: 67.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003098/0.2087, allocations: 319.7 kB / 0.8974 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.2088, allocations: 12.03 kB / 0.8974 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.2088, allocations: 0.9375 kB / 0.8974 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2089, allocations: 168.3 kB / 0.8976 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.209, allocations: 384 / 0.8976 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.209, allocations: 384 / 0.8976 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/0.2091, allocations: 30.27 kB / 0.8976 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2091, allocations: 192 / 0.8976 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2091, allocations: 3.938 kB / 0.8976 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2091, allocations: 4 kB / 0.8976 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.2091, allocations: 4 kB / 0.8976 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.2094, allocations: 379.5 kB / 0.898 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/0.2095, allocations: 173.1 kB / 0.8981 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.2095, allocations: 80.14 kB / 0.8982 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2095, allocations: 87.3 kB / 0.8983 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2096, allocations: 105.8 kB / 0.8984 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.2096, allocations: 3.984 kB / 0.8984 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.109e-05/0.2096, allocations: 29.64 kB / 0.8984 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.2097, allocations: 51.41 kB / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.2097, allocations: 97.86 kB / 0.8986 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.2097, allocations: 25.83 kB / 0.8986 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.432e-05/0.2098, allocations: 84.14 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.2098, allocations: 0 / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.2098, allocations: 9.719 kB / 0.8987 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.2098, allocations: 319.6 kB / 0.899 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.2099, allocations: 3.938 kB / 0.899 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-06/0.2099, allocations: 0 / 0.899 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.556e-05/0.2099, allocations: 75.28 kB / 0.8991 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.2099, allocations: 75.28 kB / 0.8991 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.523e-05/0.21, allocations: 41.58 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.21, allocations: 79.28 kB / 0.8992 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.21, allocations: 79.28 kB / 0.8993 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.21, allocations: 154.6 kB / 0.8995 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-05/0.2101, allocations: 83.22 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.2101, allocations: 150.6 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.2102, allocations: 87.2 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2102, allocations: 75.28 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.974e-05/0.2103, allocations: 264.4 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2103, allocations: 108.9 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2103, allocations: 108 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.2104, allocations: 184.2 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.2104, allocations: 108.9 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.2104, allocations: 179 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.2105, allocations: 176.3 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.2105, allocations: 112.9 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.2106, allocations: 180.2 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.454e-05/0.2106, allocations: 263.4 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.477e-05/0.2107, allocations: 383.4 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.21e-05/0.2107, allocations: 105 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.944e-05/0.2108, allocations: 83.27 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of Backend: time 4.31e-07/0.2108, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.2111, allocations: 78.53 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003242/0.2114, allocations: 0.9849 MB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.001649/0.2131, allocations: 180.8 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)