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.435/1.435, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.0012/0.0012, allocations: 163.6 kB / 326.5 MB, free: 2.738 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.918/1.918, allocations: 205 MB / 0.5766 GB, free: 21 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.000847/0.0008468, allocations: 88.7 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002832, allocations: 8.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006866/0.1756, allocations: 287.2 kB / 0.897 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.146e-05/0.1757, allocations: 0 / 0.897 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.1757, allocations: 0 / 0.897 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1757, allocations: 4 kB / 0.897 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.1758, allocations: 0 / 0.897 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.687e-05/0.1758, allocations: 0 / 0.897 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.812e-05/0.1758, allocations: 11.98 kB / 0.8971 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.1759, allocations: 3.984 kB / 0.8971 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.1759, allocations: 3.938 kB / 0.8971 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.409e-05/0.1759, allocations: 0 / 0.8971 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1759, allocations: 4 kB / 0.8971 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.176, allocations: 0 / 0.8971 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.176, allocations: 7.875 kB / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.664e-05/0.176, allocations: 0 / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.365e-05/0.176, allocations: 4 kB / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.176, allocations: 0 / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.176, allocations: 0 / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1761, allocations: 0 / 0.8971 GB, free: 67.87 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.0001712/0.1762, allocations: 319.8 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1763, allocations: 8.031 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.1763, allocations: 0.9375 kB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.161e-05/0.1764, allocations: 168.3 kB / 0.8975 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1764, allocations: 4.375 kB / 0.8976 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.1764, allocations: 4.375 kB / 0.8976 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.248e-05/0.1765, allocations: 26.27 kB / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1765, allocations: 192 / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1765, allocations: 3.938 kB / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1765, allocations: 3.938 kB / 0.8976 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.428e-05/0.1765, allocations: 11.92 kB / 0.8976 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.1767, allocations: 375.6 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.1768, allocations: 173.1 kB / 0.8981 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.1768, allocations: 84.12 kB / 0.8982 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1768, allocations: 75.28 kB / 0.8983 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1768, allocations: 109.8 kB / 0.8984 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1768, allocations: 3.938 kB / 0.8984 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.097e-05/0.1769, allocations: 33.7 kB / 0.8984 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.1769, allocations: 126.7 kB / 0.8985 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.177, allocations: 93.86 kB / 0.8986 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.177, allocations: 25.7 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.127e-05/0.177, allocations: 80.14 kB / 0.8987 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.177, allocations: 0 / 0.8987 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.177, allocations: 9.719 kB / 0.8987 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.1771, allocations: 323.7 kB / 0.899 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-06/0.1771, allocations: 0 / 0.899 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-06/0.1771, allocations: 0 / 0.899 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.13e-05/0.1771, allocations: 75.28 kB / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.1771, allocations: 79.28 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.785e-05/0.1772, allocations: 33.58 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1772, allocations: 79.28 kB / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1772, allocations: 79.28 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.1773, allocations: 162.5 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.005e-05/0.1773, allocations: 75.28 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.1773, allocations: 154.5 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.1774, allocations: 87.22 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1774, allocations: 79.22 kB / 0.8999 GB, free: 64.73 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 5.07e-05/0.1774, allocations: 264.3 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1775, allocations: 108.9 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.1775, allocations: 104.1 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.1775, allocations: 180.2 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/0.1776, allocations: 184.2 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.1776, allocations: 181.1 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1777, allocations: 409.1 kB / 0.9013 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.1777, allocations: 101 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.1778, allocations: 108.9 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.1778, allocations: 184.2 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1778, allocations: 176.3 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.911e-05/0.1778, allocations: 184.2 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/0.1779, allocations: 184.6 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.633e-05/0.1779, allocations: 311.7 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.178, allocations: 190.1 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.178, allocations: 180.2 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.178, allocations: 109 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.1781, allocations: 184.2 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1781, allocations: 105 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.761e-05/0.1781, allocations: 75.28 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1781, allocations: 0 / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002719/0.1784, allocations: 0 / 0.9033 GB, free: 61.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.698e-05/0.1785, allocations: 182.6 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.59e-05/0.1785, allocations: 0 / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1785, allocations: 0 / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.1785, allocations: 3.938 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1788, allocations: 0.5309 MB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001516/0.179, allocations: 179.7 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.1791, allocations: 0.6731 MB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.1791, allocations: 7.438 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1791, allocations: 0 / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.001155/0.1802, allocations: 310.9 kB / 0.9051 GB, free: 59.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)