Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.807/2.807, allocations: 287.3 MB / 302.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 194.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 90.8 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007349/0.0007355, allocations: 13.59 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2315, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007183/0.2323, allocations: 288.3 kB / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.435e-05/0.2323, allocations: 4 kB / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.2324, allocations: 0 / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.2324, allocations: 0 / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.2324, allocations: 0 / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.714e-05/0.2325, allocations: 4 kB / 0.9785 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.2325, allocations: 4 kB / 0.9785 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.2326, allocations: 0 / 0.9785 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.2326, allocations: 3.938 kB / 0.9785 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.2327, allocations: 3.984 kB / 0.9785 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.2327, allocations: 0 / 0.9785 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-06/0.2327, allocations: 0 / 0.9785 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.2327, allocations: 0 / 0.9785 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.2327, allocations: 29.7 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.943e-05/0.2328, allocations: 3.984 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2328, allocations: 0 / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2328, allocations: 4 kB / 0.9786 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2328, allocations: 0 / 0.9786 GB, free: 28.03 MB / 0.6198 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.0002431/0.2331, allocations: 307.4 kB / 0.9788 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2331, allocations: 12.09 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.2332, allocations: 0 / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.665e-05/0.2333, allocations: 167 kB / 0.979 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2333, allocations: 3.938 kB / 0.979 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2333, allocations: 0 / 0.979 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.551e-05/0.2334, allocations: 37.64 kB / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2334, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2334, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2334, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.2335, allocations: 0 / 0.9791 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.2337, allocations: 385.1 kB / 0.9794 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.2338, allocations: 169.1 kB / 0.9796 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2338, allocations: 91.19 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2339, allocations: 105.8 kB / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.2339, allocations: 0 / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.394e-05/0.234, allocations: 29.61 kB / 0.9798 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.234, allocations: 126.7 kB / 0.9799 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.2341, allocations: 105.8 kB / 0.98 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.2341, allocations: 25.7 kB / 0.98 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.2341, allocations: 80.14 kB / 0.9801 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.2342, allocations: 0 / 0.9801 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.2342, allocations: 0 / 0.9801 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.2342, allocations: 318.8 kB / 0.9804 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.2342, allocations: 0 / 0.9804 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.2343, allocations: 3.938 kB / 0.9804 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.657e-05/0.2343, allocations: 75.28 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.2343, allocations: 79.41 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.586e-05/0.2344, allocations: 29.7 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2344, allocations: 80.84 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.2344, allocations: 83.27 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/0.2345, allocations: 158.5 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-05/0.2345, allocations: 83.28 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.258e-05/0.2345, allocations: 154.5 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.2346, allocations: 83.27 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2346, allocations: 75.28 kB / 0.9813 GB, free: 25 MB / 0.6198 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 7.849e-05/0.2347, allocations: 268.3 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2348, allocations: 105 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2348, allocations: 108.1 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/0.2349, allocations: 189.2 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/0.2349, allocations: 176.3 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.292e-05/0.235, allocations: 180.2 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2351, allocations: 405.2 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.2352, allocations: 105 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.2352, allocations: 104.9 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.378e-05/0.2352, allocations: 184.2 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.2353, allocations: 184.1 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-05/0.2353, allocations: 180.6 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.289e-05/0.2354, allocations: 180.3 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.2355, allocations: 323.7 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.2355, allocations: 182 kB / 0.984 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.2356, allocations: 176.3 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.2357, allocations: 109 kB / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2357, allocations: 184.2 kB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2357, allocations: 101 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.2358, allocations: 83.28 kB / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2358, allocations: 0 / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003091/0.2361, allocations: 0 / 0.9847 GB, free: 21.33 MB / 0.6198 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.0001259/0.2363, allocations: 172.5 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.523e-05/0.2363, allocations: 3.938 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2363, allocations: 0 / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.2363, allocations: 4.094 kB / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2366, allocations: 0.5266 MB / 0.9853 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.2368, allocations: 154 kB / 0.9855 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2369, allocations: 0.6731 MB / 0.9861 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.307e-06/0.2369, allocations: 0 / 0.9861 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.237, allocations: 11.44 kB / 0.9862 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.237, allocations: 0 / 0.9862 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.002056/0.239, allocations: 156.2 kB / 0.9863 GB, free: 19.57 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)