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.5/1.5, allocations: 252 MB / 267.6 MB, free: 10.92 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.001054/0.001054, allocations: 178.5 kB / 327.3 MB, free: 2.211 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.582/1.582, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0008309/0.0008308, allocations: 80 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 11.12 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2115, allocations: 106.3 MB / 0.9009 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006798/0.2123, allocations: 282.5 kB / 0.9011 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.622e-05/0.2123, allocations: 4 kB / 0.9011 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.2123, allocations: 0 / 0.9011 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.2124, allocations: 0 / 0.9011 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.2124, allocations: 0 / 0.9011 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.698e-05/0.2124, allocations: 4 kB / 0.9011 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.2125, allocations: 3.938 kB / 0.9011 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.494e-05/0.2126, allocations: 4 kB / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.2126, allocations: 7.938 kB / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.769e-05/0.2126, allocations: 0 / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2126, allocations: 0 / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-06/0.2126, allocations: 0 / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.2126, allocations: 0 / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.2127, allocations: 25.7 kB / 0.9012 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4e-05/0.2127, allocations: 3.984 kB / 0.9012 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2127, allocations: 0 / 0.9012 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2127, allocations: 8 kB / 0.9012 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2127, allocations: 0 / 0.9012 GB, free: 63.93 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.0002391/0.213, allocations: 311.3 kB / 0.9015 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.213, allocations: 8.094 kB / 0.9015 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.2131, allocations: 4 kB / 0.9015 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.2132, allocations: 171 kB / 0.9017 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2132, allocations: 3.938 kB / 0.9017 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2132, allocations: 0 / 0.9017 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.268e-05/0.2133, allocations: 37.64 kB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2133, allocations: 4 kB / 0.9017 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.2133, allocations: 0 / 0.9017 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2133, allocations: 3.984 kB / 0.9017 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.2133, allocations: 0 / 0.9017 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.2136, allocations: 383.5 kB / 0.9021 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.2136, allocations: 174.2 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.2136, allocations: 80.14 kB / 0.9023 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2137, allocations: 75.28 kB / 0.9024 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2137, allocations: 109.9 kB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2137, allocations: 0 / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.204e-05/0.2138, allocations: 25.7 kB / 0.9025 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2138, allocations: 130.7 kB / 0.9026 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.2139, allocations: 101.8 kB / 0.9027 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.2139, allocations: 25.7 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.256e-05/0.2139, allocations: 80.14 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.2139, allocations: 3.938 kB / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-07/0.2139, allocations: 0 / 0.9028 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.2139, allocations: 318.7 kB / 0.9031 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-06/0.214, allocations: 0 / 0.9031 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.214, allocations: 8.125 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.297e-05/0.214, allocations: 75.28 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.214, allocations: 75.28 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.553e-05/0.214, allocations: 29.7 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2141, allocations: 83.31 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.2141, allocations: 87.2 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.2141, allocations: 150.6 kB / 0.9036 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.121e-05/0.2141, allocations: 79.28 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.2142, allocations: 158.5 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.2142, allocations: 75.28 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2143, allocations: 79.22 kB / 0.904 GB, free: 60.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.2143, allocations: 264.4 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.2144, allocations: 109 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.2144, allocations: 108.1 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.2144, allocations: 180.2 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-05/0.2145, allocations: 180.3 kB / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/0.2145, allocations: 184.2 kB / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.2146, allocations: 401.2 kB / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.2146, allocations: 105 kB / 0.9055 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.2147, allocations: 108.9 kB / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/0.2147, allocations: 180.2 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2147, allocations: 188.2 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.587e-05/0.2148, allocations: 180.3 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-05/0.2148, allocations: 184.6 kB / 0.9063 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.16e-05/0.2149, allocations: 315.8 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.2149, allocations: 182 kB / 0.9067 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2149, allocations: 176.3 kB / 0.9069 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.215, allocations: 104.9 kB / 0.907 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.215, allocations: 184.3 kB / 0.9072 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.215, allocations: 109 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.876e-05/0.2151, allocations: 83.28 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2151, allocations: 0 / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002711/0.2154, allocations: 0 / 0.9074 GB, free: 57.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001038/0.2155, allocations: 174.5 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.274e-05/0.2155, allocations: 8.031 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2155, allocations: 0 / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2155, allocations: 0 / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2158, allocations: 0.5232 MB / 0.9081 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.2159, allocations: 183.6 kB / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.2161, allocations: 0.6731 MB / 0.9089 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.2161, allocations: 7.438 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2161, allocations: 0 / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.001232/0.2173, allocations: 326.4 kB / 0.9092 GB, free: 55.18 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)