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.682/1.682, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.001056/0.001056, allocations: 186.2 kB / 372 MB, free: 10.29 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.719/1.719, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0007253/0.0007254, allocations: 92.53 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.000402, allocations: 15.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007599/0.2112, allocations: 342 kB / 0.9799 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2124, allocations: 1.083 MB / 0.981 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.2125, allocations: 0 / 0.981 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.2126, allocations: 4 kB / 0.981 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.2127, allocations: 11.86 kB / 0.981 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.2132, allocations: 107.3 kB / 0.9811 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2134, allocations: 67.89 kB / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.2135, allocations: 7.922 kB / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2136, allocations: 27.92 kB / 0.9812 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2137, allocations: 31.89 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.2138, allocations: 4 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.2139, allocations: 23.98 kB / 0.9813 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.214, allocations: 4 kB / 0.9813 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.214, allocations: 33.7 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.2142, allocations: 47.88 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.2142, allocations: 4 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2142, allocations: 4 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2142, allocations: 0 / 0.9813 GB, free: 25.9 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.0005357/0.2148, allocations: 365.2 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.2148, allocations: 8.031 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.2149, allocations: 7.938 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.215, allocations: 174.9 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.2151, allocations: 4 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.2151, allocations: 4 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2153, allocations: 41.69 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2153, allocations: 0 / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.2153, allocations: 0 / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2153, allocations: 0 / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.2154, allocations: 11.98 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.2159, allocations: 300.7 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.216, allocations: 30.56 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.216, allocations: 8.922 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.216, allocations: 0 / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.2162, allocations: 63.39 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.2162, allocations: 0 / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002102/0.2164, allocations: 73.61 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2164, allocations: 51.41 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.2165, allocations: 113.8 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2165, allocations: 33.64 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.2166, allocations: 88.12 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.2166, allocations: 7.906 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.2166, allocations: 4 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.2167, allocations: 318.8 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.2168, allocations: 35.98 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.2169, allocations: 54.55 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.217, allocations: 57.64 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.217, allocations: 0 / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002242/0.2172, allocations: 147.3 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.2172, allocations: 35.73 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2173, allocations: 8 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2173, allocations: 0 / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.2173, allocations: 4 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2174, allocations: 0 / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.2176, allocations: 47.86 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2176, allocations: 4 kB / 0.9834 GB, free: 23.59 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 7.256e-05/0.2177, allocations: 121.8 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.2177, allocations: 4 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.2178, allocations: 7.891 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2178, allocations: 0 / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2178, allocations: 0 / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2178, allocations: 0 / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.2179, allocations: 169.6 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2179, allocations: 8.047 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.2179, allocations: 4 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2179, allocations: 7.938 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2179, allocations: 0 / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.218, allocations: 0 / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.218, allocations: 400 / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.279e-05/0.2181, allocations: 85.08 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.2181, allocations: 85 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2181, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.2181, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.2182, allocations: 8 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.2182, allocations: 7.938 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.2182, allocations: 87.25 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2182, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001986/0.2184, allocations: 20 kB / 0.9839 GB, free: 22.89 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001272/0.2185, allocations: 103.2 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.2188, allocations: 131.3 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2188, allocations: 4.125 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.2188, allocations: 12 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.219, allocations: 10.19 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.2193, allocations: 138.6 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2194, allocations: 0.6809 MB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.2195, allocations: 11.98 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.2195, allocations: 11.38 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2195, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.00321/0.2227, allocations: 0.987 MB / 0.986 GB, free: 20.75 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)