Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 194.4 kB / 16.26 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.2 MB / 0.5485 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 66.69 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3154, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002599/0.3181, allocations: 0.6688 MB / 0.7835 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3197, allocations: 1.111 MB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.3197, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.3198, allocations: 0 / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.3199, allocations: 7.875 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.3204, allocations: 118.5 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.3205, allocations: 95.88 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3206, allocations: 11.98 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.3207, allocations: 27.98 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.3208, allocations: 23.91 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3208, allocations: 11.94 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.3209, allocations: 27.97 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.3209, allocations: 7.938 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.321, allocations: 31.91 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.3212, allocations: 87.78 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3212, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3212, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3212, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 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.0005625/0.3218, allocations: 381.4 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3218, allocations: 8.031 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3219, allocations: 8.844 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.322, allocations: 164.4 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.322, allocations: 8.359 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3221, allocations: 4.375 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3222, allocations: 42.25 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3222, allocations: 8.109 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3222, allocations: 3.938 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3222, allocations: 8 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.3223, allocations: 4 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3228, allocations: 296.8 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.3229, allocations: 26.52 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.3229, allocations: 8.922 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3229, allocations: 0 / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.3231, allocations: 75.25 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3231, allocations: 0 / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002477/0.3233, allocations: 77.58 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.3234, allocations: 51.41 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3237, allocations: 109.8 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3237, allocations: 29.7 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.3238, allocations: 92.08 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.3238, allocations: 7.906 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.3239, allocations: 37.64 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3241, allocations: 318.8 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.3242, allocations: 27.98 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.839e-05/0.3243, allocations: 50.56 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3244, allocations: 88.27 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.3244, allocations: 7.875 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002855/0.3247, allocations: 147.2 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.3248, allocations: 41.69 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3248, allocations: 0 / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3248, allocations: 0 / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.3249, allocations: 4 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3249, allocations: 0 / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.3252, allocations: 28.03 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3252, allocations: 11.98 kB / 0.7871 GB, free: 9.309 MB / 0.6075 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,booPul.y,$PRE.booPul.y,booToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.3254, allocations: 118.4 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.3254, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.3254, allocations: 11.91 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3254, allocations: 0 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3254, allocations: 0 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3255, allocations: 0 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.3256, allocations: 165.6 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3257, allocations: 8.062 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.3257, allocations: 0 / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3257, allocations: 4 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3257, allocations: 0 / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3257, allocations: 3.938 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3257, allocations: 0 / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3259, allocations: 92.95 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.326, allocations: 77.11 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.326, allocations: 8.281 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.326, allocations: 3.938 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.3261, allocations: 3.984 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3261, allocations: 4 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.3261, allocations: 83.28 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3261, allocations: 0 / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002251/0.3264, allocations: 16 kB / 0.7877 GB, free: 8.617 MB / 0.6075 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 (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.0002054/0.3266, allocations: 111.2 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.3269, allocations: 135.3 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3269, allocations: 0 / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.3269, allocations: 15.97 kB / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.3272, allocations: 15.88 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.3276, allocations: 141.9 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.328, allocations: 0.6847 MB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.3281, allocations: 4 kB / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.3281, allocations: 7.438 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3281, allocations: 0 / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.004873/0.333, allocations: 1.064 MB / 0.7898 GB, free: 6.383 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)