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.881/1.881, allocations: 288.4 MB / 303.7 MB, free: 8.84 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.001068/0.001068, allocations: 184.5 kB / 372.3 MB, free: 6.402 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.907/1.907, allocations: 205.4 MB / 0.631 GB, free: 14.36 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009472/0.0009471, allocations: 82.58 kB / 0.7444 GB, free: 63.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004766, allocations: 12 kB / 0.8675 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3372, allocations: 115.3 MB / 0.9801 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001019/0.3383, allocations: 341.9 kB / 0.9805 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.34, allocations: 1.094 MB / 0.9815 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.3401, allocations: 0 / 0.9815 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.3401, allocations: 11.88 kB / 0.9815 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.513e-05/0.3402, allocations: 0 / 0.9815 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.3407, allocations: 107.8 kB / 0.9816 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.3408, allocations: 75.81 kB / 0.9817 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3409, allocations: 7.984 kB / 0.9817 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.341, allocations: 23.98 kB / 0.9818 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.3411, allocations: 27.89 kB / 0.9818 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3411, allocations: 12 kB / 0.9818 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.3412, allocations: 11.98 kB / 0.9818 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.3412, allocations: 11.94 kB / 0.9818 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.3413, allocations: 49.61 kB / 0.9819 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3414, allocations: 63.86 kB / 0.9819 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3414, allocations: 0 / 0.9819 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3414, allocations: 0 / 0.9819 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3414, allocations: 0 / 0.9819 GB, free: 11.34 MB / 0.7136 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.0004614/0.3419, allocations: 361.4 kB / 0.9823 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.342, allocations: 8.031 kB / 0.9823 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.342, allocations: 16.78 kB / 0.9823 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3422, allocations: 168.4 kB / 0.9824 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3422, allocations: 384 / 0.9824 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3422, allocations: 8.375 kB / 0.9825 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3424, allocations: 42.25 kB / 0.9825 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3424, allocations: 192 / 0.9825 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3424, allocations: 7.938 kB / 0.9825 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3424, allocations: 3.984 kB / 0.9825 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.3425, allocations: 11.94 kB / 0.9825 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.343, allocations: 296.8 kB / 0.9828 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.3431, allocations: 30.52 kB / 0.9828 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.3431, allocations: 12.92 kB / 0.9828 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.3431, allocations: 0 / 0.9828 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.3434, allocations: 63.33 kB / 0.9829 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.3434, allocations: 4 kB / 0.9829 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002698/0.3436, allocations: 69.58 kB / 0.983 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.3437, allocations: 59.41 kB / 0.983 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3439, allocations: 105.8 kB / 0.9831 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.3439, allocations: 25.7 kB / 0.9832 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.344, allocations: 88.14 kB / 0.9832 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.344, allocations: 7.891 kB / 0.9832 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.344, allocations: 4 kB / 0.9833 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3442, allocations: 326.8 kB / 0.9836 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.3443, allocations: 31.92 kB / 0.9836 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.154e-05/0.3444, allocations: 54.5 kB / 0.9836 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3446, allocations: 80.27 kB / 0.9837 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3446, allocations: 3.938 kB / 0.9837 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002889/0.3449, allocations: 155.2 kB / 0.9839 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.345, allocations: 37.69 kB / 0.9839 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.345, allocations: 4 kB / 0.9839 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.345, allocations: 0 / 0.9839 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.3451, allocations: 7.938 kB / 0.9839 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3451, allocations: 0 / 0.9839 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.3454, allocations: 36.03 kB / 0.984 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3454, allocations: 7.984 kB / 0.984 GB, free: 8.984 MB / 0.7136 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 0.0001416/0.3456, allocations: 125.7 kB / 0.9841 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.3456, allocations: 0 / 0.9841 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3456, allocations: 3.906 kB / 0.9841 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3456, allocations: 4 kB / 0.9841 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3456, allocations: 0 / 0.9841 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3457, allocations: 0 / 0.9841 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.3458, allocations: 169.6 kB / 0.9843 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3459, allocations: 4 kB / 0.9843 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.3459, allocations: 0 / 0.9843 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3459, allocations: 0 / 0.9843 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3459, allocations: 4 kB / 0.9843 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3459, allocations: 64 / 0.9843 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3459, allocations: 7.984 kB / 0.9843 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3461, allocations: 88.91 kB / 0.9844 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.3462, allocations: 77.11 kB / 0.9844 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3462, allocations: 12 kB / 0.9844 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.3462, allocations: 0 / 0.9844 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.3462, allocations: 3.984 kB / 0.9844 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.3463, allocations: 4 kB / 0.9844 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.3463, allocations: 83.28 kB / 0.9845 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3463, allocations: 0 / 0.9845 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002511/0.3466, allocations: 16 kB / 0.9845 GB, free: 8.293 MB / 0.7136 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.0002359/0.3468, allocations: 103.5 kB / 0.9846 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3471, allocations: 131.3 kB / 0.9848 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3472, allocations: 0 / 0.9848 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.3472, allocations: 19.98 kB / 0.9848 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3475, allocations: 11.88 kB / 0.9848 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.3479, allocations: 140.8 kB / 0.9849 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3482, allocations: 0.6888 MB / 0.9856 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.3482, allocations: 0 / 0.9856 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.3482, allocations: 11.44 kB / 0.9856 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.3483, allocations: 0 / 0.9856 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of Templates: time 0.003533/0.3518, allocations: 0.9955 MB / 0.9866 GB, free: 6.137 MB / 0.7136 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)