Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.00112/0.00112, allocations: 184.5 kB / 372.9 MB, free: 10.13 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.705/1.705, allocations: 205.4 MB / 0.6316 GB, free: 9.852 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.000874/0.000874, allocations: 93.31 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004346, allocations: 11.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008163/0.2141, allocations: 342 kB / 0.9811 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2155, allocations: 1.083 MB / 0.9821 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.2156, allocations: 0 / 0.9821 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.2157, allocations: 3.938 kB / 0.9821 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.2157, allocations: 7.922 kB / 0.9821 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.2162, allocations: 103.1 kB / 0.9822 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.2163, allocations: 79.81 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.2164, allocations: 4 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.2165, allocations: 31.91 kB / 0.9824 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.2166, allocations: 27.91 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2166, allocations: 4 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.2167, allocations: 19.92 kB / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2167, allocations: 7.984 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.2167, allocations: 49.62 kB / 0.9825 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2169, allocations: 55.86 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2169, allocations: 3.984 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2169, allocations: 4 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2169, allocations: 0 / 0.9825 GB, free: 25.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00033/0.2172, allocations: 365.4 kB / 0.9829 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2173, allocations: 12.03 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.2173, allocations: 4.938 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.428e-05/0.2174, allocations: 168.3 kB / 0.983 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.2174, allocations: 8.375 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.2175, allocations: 4.375 kB / 0.9831 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/0.2175, allocations: 42.19 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.2175, allocations: 192 / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2176, allocations: 15.92 kB / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2176, allocations: 0 / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.2176, allocations: 8 kB / 0.9831 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.2179, allocations: 292.8 kB / 0.9834 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.218, allocations: 26.52 kB / 0.9834 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.218, allocations: 16.86 kB / 0.9834 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.218, allocations: 8 kB / 0.9834 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.2182, allocations: 59.39 kB / 0.9835 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2182, allocations: 0 / 0.9835 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002094/0.2184, allocations: 69.59 kB / 0.9836 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2184, allocations: 55.39 kB / 0.9836 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.2185, allocations: 117.7 kB / 0.9837 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2185, allocations: 29.7 kB / 0.9838 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.2186, allocations: 88.14 kB / 0.9838 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.2186, allocations: 7.906 kB / 0.9839 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.2186, allocations: 0 / 0.9839 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.2187, allocations: 318.8 kB / 0.9842 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.2187, allocations: 31.97 kB / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.2188, allocations: 46.56 kB / 0.9842 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.2189, allocations: 92.2 kB / 0.9843 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2189, allocations: 0 / 0.9843 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000205/0.2191, allocations: 151.5 kB / 0.9845 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2192, allocations: 37.7 kB / 0.9845 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2192, allocations: 0 / 0.9845 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2192, allocations: 3.984 kB / 0.9845 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.2192, allocations: 7.938 kB / 0.9845 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2193, allocations: 0 / 0.9845 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.2195, allocations: 47.92 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.2195, allocations: 4 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.735e-05/0.2196, allocations: 121.8 kB / 0.9847 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.2196, allocations: 4 kB / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.2196, allocations: 3.906 kB / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2196, allocations: 4 kB / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2196, allocations: 0 / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.2197, allocations: 85.02 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2197, allocations: 0 / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.2197, allocations: 4 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2197, allocations: 7.922 kB / 0.9848 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001065/0.2198, allocations: 136.9 kB / 0.9849 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001077/0.22, allocations: 230.8 kB / 0.9851 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.579e-05/0.22, allocations: 8.062 kB / 0.9851 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.22, allocations: 91.27 kB / 0.9852 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of Backend: time 7.91e-07/0.22, allocations: 3.938 kB / 0.9852 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.2205, allocations: 193.8 kB / 0.9854 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003751/0.2209, allocations: 0.59 MB / 0.986 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.003025/0.2239, allocations: 1.038 MB / 0.987 GB, free: 20.54 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)