Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.544/1.544, allocations: 252 MB / 268 MB, free: 10.87 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.001016/0.001016, allocations: 174.6 kB / 327.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008296/0.0008296, allocations: 94.3 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12.97 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001553/0.2781, allocations: 1.042 MB / 0.9025 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.2785, allocations: 196.3 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.2786, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.2786, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.2788, allocations: 3.938 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.2789, allocations: 11.98 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.279, allocations: 27.88 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2792, allocations: 11.98 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.2792, allocations: 7.938 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.2793, allocations: 23.91 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2793, allocations: 0 / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.2793, allocations: 0 / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2793, allocations: 4 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.2794, allocations: 37.64 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.386e-05/0.2794, allocations: 19.95 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2794, allocations: 0 / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2795, allocations: 0 / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2795, allocations: 0 / 0.9028 GB, free: 62.13 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.0004818/0.2799, allocations: 343.7 kB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.28, allocations: 12.03 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.2801, allocations: 4.844 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2802, allocations: 176.2 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2802, allocations: 4.375 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2803, allocations: 384 / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.2803, allocations: 42.25 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2804, allocations: 192 / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.2804, allocations: 3.938 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2804, allocations: 4 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.2805, allocations: 15.98 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.2809, allocations: 249 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.2813, allocations: 102.4 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.2813, allocations: 16.92 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2814, allocations: 0 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.2815, allocations: 63.34 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2815, allocations: 0 / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001463/0.2817, allocations: 65.61 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.2817, allocations: 51.41 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2819, allocations: 109.9 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.2819, allocations: 29.69 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.2819, allocations: 80.14 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.2819, allocations: 11.89 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.2819, allocations: 4 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.282, allocations: 314.8 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.282, allocations: 8 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.282, allocations: 25.7 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.2821, allocations: 25.66 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2821, allocations: 3.938 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001124/0.2823, allocations: 57.59 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2823, allocations: 12.03 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2823, allocations: 3.938 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2823, allocations: 0 / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.723e-05/0.2823, allocations: 4 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2823, allocations: 7.969 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.2824, allocations: 12 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2824, allocations: 0 / 0.9046 GB, free: 60.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.2826, allocations: 117.7 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.2826, allocations: 0 / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.2826, allocations: 23.83 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2826, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2826, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2827, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.07e-05/0.2827, allocations: 166 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2827, allocations: 0 / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.2828, allocations: 4 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2828, allocations: 0 / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2828, allocations: 8 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2828, allocations: 0 / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2828, allocations: 4 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.2829, allocations: 85.14 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.2829, allocations: 85.14 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.283, allocations: 0 / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.2831, allocations: 7.984 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2831, allocations: 11.92 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.2831, allocations: 0 / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.2832, allocations: 87.28 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2832, allocations: 0 / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002245/0.2834, allocations: 8 kB / 0.9052 GB, free: 59.37 MB / 0.6042 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,booToInt.y,booPul.y,booPul.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.2836, allocations: 95.25 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.2837, allocations: 31.92 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2837, allocations: 0 / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/0.2837, allocations: 15.98 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.284, allocations: 16.34 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.2843, allocations: 176.1 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.2844, allocations: 0.6809 MB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.2845, allocations: 11.44 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2845, allocations: 3.938 kB / 0.9062 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.002075/0.2866, allocations: 0.6586 MB / 0.9068 GB, free: 57.63 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)