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.001554/0.001554, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002663/0.002663, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.777/1.777, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.861/1.861, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001785/0.001786, allocations: 65.73 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3094, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.003235/0.3127, allocations: 0.6157 MB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.315, allocations: 1.113 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3152, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.3152, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3154, allocations: 11.94 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.3162, allocations: 118.7 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.3165, allocations: 91.83 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3167, allocations: 15.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3168, allocations: 31.97 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.317, allocations: 27.91 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.317, allocations: 8 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3171, allocations: 27.98 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3172, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.3173, allocations: 35.89 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3176, allocations: 83.78 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.3176, allocations: 4 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3176, allocations: 4 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3176, allocations: 0 / 0.7855 GB, free: 11.28 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.0008323/0.3185, allocations: 373.4 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.3185, allocations: 8.031 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3186, allocations: 12.84 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3189, allocations: 160.4 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.3189, allocations: 8.359 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.3189, allocations: 4.375 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3191, allocations: 46.19 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3192, allocations: 4.188 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3192, allocations: 3.938 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3192, allocations: 0 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.3193, allocations: 4 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.32, allocations: 296.8 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3201, allocations: 38.44 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.3202, allocations: 8.922 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3202, allocations: 4 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.3205, allocations: 59.39 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3205, allocations: 0 / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003188/0.3209, allocations: 81.45 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.3209, allocations: 55.41 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3211, allocations: 109.8 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3211, allocations: 25.7 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.3212, allocations: 92.14 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.3212, allocations: 11.89 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.3213, allocations: 29.7 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3215, allocations: 318.8 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.3216, allocations: 31.92 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3218, allocations: 50.56 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3219, allocations: 88.2 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3219, allocations: 3.938 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002973/0.3223, allocations: 151.2 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.3223, allocations: 38.62 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3223, allocations: 4 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3224, allocations: 0 / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.3225, allocations: 4 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3225, allocations: 4.062 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.3227, allocations: 23.97 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3228, allocations: 12.05 kB / 0.7876 GB, free: 8.891 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.000132/0.3229, allocations: 118.4 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.3229, allocations: 4 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.323, allocations: 7.906 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.323, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.323, allocations: 7.938 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.323, allocations: 4 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3232, allocations: 161.6 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3232, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3232, allocations: 4 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3232, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3232, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3232, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3233, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.3234, allocations: 102 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3234, allocations: 77.11 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3235, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.3235, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3235, allocations: 7.984 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.3236, allocations: 3.938 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.3236, allocations: 87.28 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3236, allocations: 3.938 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002392/0.3239, allocations: 12 kB / 0.7881 GB, free: 8.199 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.0001998/0.3241, allocations: 111.2 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.3244, allocations: 127.3 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.3244, allocations: 4 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.3245, allocations: 20.3 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3247, allocations: 15.88 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.3252, allocations: 134 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.3256, allocations: 0.6806 MB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.3256, allocations: 4.094 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.3257, allocations: 7.438 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3257, allocations: 0 / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.004427/0.3301, allocations: 1.08 MB / 0.7903 GB, free: 5.965 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)