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.001428/0.001428, allocations: 105.4 kB / 15.7 MB, free: 24 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.001387/0.001387, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.833/1.833, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001484/0.001484, allocations: 70.08 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3153, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002818/0.3182, allocations: 0.6193 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3199, allocations: 1.11 MB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.32, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.3201, allocations: 3.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.3202, allocations: 7.938 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.3208, allocations: 117.1 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3209, allocations: 95.81 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3211, allocations: 11.98 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.3212, allocations: 35.92 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3213, allocations: 35.83 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3213, allocations: 8 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3214, allocations: 23.98 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.3214, allocations: 3.984 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.3215, allocations: 35.91 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3217, allocations: 87.78 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3217, allocations: 3.938 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3217, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.3217, allocations: 4 kB / 0.7863 GB, free: 10.52 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.0005684/0.3223, allocations: 373.1 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3223, allocations: 8.031 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3224, allocations: 8.844 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3225, allocations: 172.4 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3226, allocations: 384 / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3226, allocations: 8.375 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3227, allocations: 38.25 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3227, allocations: 4.188 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3227, allocations: 3.938 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3228, allocations: 0 / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.3228, allocations: 11.98 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.3233, allocations: 296.7 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.3234, allocations: 34.5 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.3234, allocations: 8.922 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3234, allocations: 4 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.3236, allocations: 63.33 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3236, allocations: 0 / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.3238, allocations: 73.59 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3239, allocations: 59.33 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.324, allocations: 105.8 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.324, allocations: 33.69 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.3241, allocations: 92.12 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.3241, allocations: 7.906 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.3241, allocations: 29.7 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3243, allocations: 314.8 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.3244, allocations: 31.97 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-05/0.3245, allocations: 54.5 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3246, allocations: 88.33 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3246, allocations: 3.938 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002587/0.3249, allocations: 151.2 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.3249, allocations: 37.7 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3249, allocations: 3.984 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.325, allocations: 0 / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.325, allocations: 4 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3251, allocations: 3.938 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3253, allocations: 28.03 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3253, allocations: 4 kB / 0.7883 GB, free: 8.129 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.0001131/0.3254, allocations: 122.4 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.3254, allocations: 3.984 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.3255, allocations: 7.906 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3255, allocations: 4 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3255, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3255, allocations: 4 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3257, allocations: 165.6 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3257, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.3257, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3257, allocations: 3.938 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3257, allocations: 4.234 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3257, allocations: 0 / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3257, allocations: 0 / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.3258, allocations: 101.9 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3259, allocations: 81.11 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.326, allocations: 4 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.326, allocations: 0 / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.326, allocations: 0 / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.326, allocations: 4 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.3261, allocations: 91.2 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3261, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000217/0.3263, allocations: 16 kB / 0.7889 GB, free: 7.426 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.0002216/0.3265, allocations: 107.2 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.3268, allocations: 123.3 kB / 0.7891 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3268, allocations: 0 / 0.7891 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.3269, allocations: 16 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.3271, allocations: 19.92 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.3275, allocations: 136.5 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3278, allocations: 0.6847 MB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.3279, allocations: 0 / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3279, allocations: 11.44 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of SimCode: time 3.206e-06/0.3279, allocations: 0 / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.004388/0.3323, allocations: 1.08 MB / 0.791 GB, free: 5.199 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)