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 1.987/1.987, allocations: 287.5 MB / 302.6 MB, free: 8.344 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.002113/0.002113, allocations: 182.9 kB / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.6299 GB, free: 10.52 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.0009848/0.0009849, allocations: 88.59 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004836, allocations: 12.38 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2395, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.000688/0.2402, allocations: 289.9 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.486e-05/0.2403, allocations: 8 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.2403, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.2403, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.089e-05/0.2403, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.618e-05/0.2404, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.2404, allocations: 4 kB / 0.979 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.2405, allocations: 7.969 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.2405, allocations: 0 / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.2405, allocations: 0 / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2406, allocations: 0 / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.2406, allocations: 3.938 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.2406, allocations: 4 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.2406, allocations: 25.7 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.221e-05/0.2407, allocations: 8 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2407, allocations: 0 / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2407, allocations: 0 / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2407, allocations: 0 / 0.979 GB, free: 27.8 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.000205/0.2409, allocations: 307.5 kB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2409, allocations: 12.09 kB / 0.9793 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.241, allocations: 4.922 kB / 0.9793 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.77e-05/0.241, allocations: 160.4 kB / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.2411, allocations: 4.375 kB / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2411, allocations: 384 / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.711e-05/0.2412, allocations: 30.27 kB / 0.9795 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2412, allocations: 192 / 0.9795 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2412, allocations: 3.938 kB / 0.9795 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2412, allocations: 0 / 0.9795 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.2412, allocations: 3.938 kB / 0.9795 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.2415, allocations: 387.4 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.2415, allocations: 173.1 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.2415, allocations: 84.17 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.2416, allocations: 83.2 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2416, allocations: 109.8 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2416, allocations: 4 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.557e-05/0.2417, allocations: 29.73 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2417, allocations: 126.7 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.847e-05/0.2418, allocations: 101.8 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.2418, allocations: 25.7 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.612e-05/0.2418, allocations: 80.14 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.2418, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.2418, allocations: 4 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.2419, allocations: 319 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.2419, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.2419, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.392e-05/0.2419, allocations: 75.28 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.2419, allocations: 79.22 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.193e-05/0.242, allocations: 33.64 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.242, allocations: 79.28 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.242, allocations: 75.28 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.2421, allocations: 162.5 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.061e-05/0.2421, allocations: 79.28 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.2421, allocations: 154.5 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.2422, allocations: 79.27 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2422, allocations: 75.28 kB / 0.9818 GB, free: 24.68 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 6.041e-05/0.2423, allocations: 268.3 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.2423, allocations: 108.9 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.2424, allocations: 104.1 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.2424, allocations: 188.2 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/0.2424, allocations: 177.1 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/0.2425, allocations: 180.3 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2426, allocations: 413.1 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.2426, allocations: 105 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.2426, allocations: 108.9 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/0.2427, allocations: 176.3 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2427, allocations: 180.3 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-05/0.2427, allocations: 184.5 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.446e-05/0.2428, allocations: 184.2 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.665e-05/0.2428, allocations: 311.7 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.2429, allocations: 182.1 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.2429, allocations: 192.2 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.243, allocations: 101 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.243, allocations: 180.2 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2431, allocations: 101 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.2431, allocations: 79.28 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2431, allocations: 0 / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002536/0.2434, allocations: 0 / 0.9852 GB, free: 21.02 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.0001113/0.2435, allocations: 178.6 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.712e-05/0.2435, allocations: 7.938 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2435, allocations: 3.938 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/0.2435, allocations: 4 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2438, allocations: 0.5226 MB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.244, allocations: 151.6 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.2441, allocations: 0.6731 MB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.287e-06/0.2441, allocations: 4 kB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.2441, allocations: 7.438 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2441, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.001527/0.2457, allocations: 152.4 kB / 0.9869 GB, free: 19.25 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)