Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.682/2.682, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.00136/0.00136, allocations: 179.9 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.49/2.49, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009632/0.0009625, allocations: 91.84 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005018, allocations: 14.22 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001565/0.2153, allocations: 1.025 MB / 0.9005 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004562/0.2158, allocations: 185.5 kB / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.2159, allocations: 0 / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.2159, allocations: 0 / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.216, allocations: 15.91 kB / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2162, allocations: 4 kB / 0.9007 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.2163, allocations: 31.86 kB / 0.9007 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2164, allocations: 8 kB / 0.9007 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.2165, allocations: 7.984 kB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.2165, allocations: 11.94 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2166, allocations: 0 / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.2166, allocations: 8 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2166, allocations: 7.922 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2167, allocations: 29.7 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.906e-05/0.2167, allocations: 19.95 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2168, allocations: 0 / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2168, allocations: 0 / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2168, allocations: 3.938 kB / 0.9008 GB, free: 64.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004767/0.2173, allocations: 343.7 kB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2173, allocations: 12.03 kB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.2174, allocations: 12.83 kB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2175, allocations: 172.4 kB / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2175, allocations: 384 / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2176, allocations: 384 / 0.9013 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2177, allocations: 50.19 kB / 0.9014 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2177, allocations: 192 / 0.9014 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2177, allocations: 3.938 kB / 0.9014 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2177, allocations: 3.938 kB / 0.9014 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.654e-05/0.2178, allocations: 15.98 kB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.2182, allocations: 257 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.2187, allocations: 98.39 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.2188, allocations: 12.92 kB / 0.9018 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.2188, allocations: 0 / 0.9018 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.219, allocations: 59.48 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.003e-06/0.219, allocations: 0 / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002215/0.2192, allocations: 65.59 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2193, allocations: 55.34 kB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.2194, allocations: 105.8 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2194, allocations: 25.7 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2194, allocations: 88.14 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.2194, allocations: 3.906 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.2195, allocations: 4 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.2195, allocations: 310.8 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.2196, allocations: 15.98 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.2196, allocations: 21.72 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.2197, allocations: 4 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2197, allocations: 0 / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001159/0.2198, allocations: 65.56 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2198, allocations: 5.562 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2199, allocations: 0 / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2199, allocations: 0 / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.2199, allocations: 8.031 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.22, allocations: 3.984 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2201, allocations: 8 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.2201, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.619e-05/0.2202, allocations: 117.8 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.2202, allocations: 8.078 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.2203, allocations: 15.89 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2203, allocations: 3.984 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2203, allocations: 4 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.2203, allocations: 81.05 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.2203, allocations: 0 / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.2204, allocations: 11.98 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.2205, allocations: 11.81 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000183/0.2207, allocations: 137 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001461/0.2209, allocations: 226.7 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.827e-05/0.2209, allocations: 20.3 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.221, allocations: 87.28 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of Backend: time 8.32e-07/0.221, allocations: 0 / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.2214, allocations: 96.39 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004707/0.2219, allocations: 0.5819 MB / 0.9039 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.003264/0.2251, allocations: 0.5178 MB / 0.9044 GB, free: 60.08 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)