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.001532/0.001532, allocations: 104.6 kB / 16.27 MB, free: 6.004 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.001769/0.001769, allocations: 184.2 kB / 17.19 MB, free: 5.617 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.486/1.486, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.83/1.83, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001629/0.001629, allocations: 71.89 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3154, allocations: 114.5 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002477/0.3179, allocations: 0.612 MB / 0.7846 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3197, allocations: 1.113 MB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.3198, allocations: 4 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.3199, allocations: 0 / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.32, allocations: 3.938 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.3207, allocations: 118.6 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3209, allocations: 95.89 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.321, allocations: 3.984 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3212, allocations: 47.84 kB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3213, allocations: 19.91 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.3213, allocations: 11.94 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.837e-05/0.3214, allocations: 27.98 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.3215, allocations: 4 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.3216, allocations: 35.89 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3218, allocations: 83.8 kB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3218, allocations: 0 / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3218, allocations: 0 / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.3218, allocations: 3.984 kB / 0.7862 GB, free: 1.734 MB / 0.6544 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.0006007/0.3224, allocations: 377.4 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.3225, allocations: 8.031 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.3226, allocations: 4.938 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3227, allocations: 172.3 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.3227, allocations: 384 / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3228, allocations: 8.375 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3229, allocations: 42.19 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3229, allocations: 192 / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.323, allocations: 3.938 kB / 0.7867 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.323, allocations: 0 / 0.7867 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.702e-05/0.323, allocations: 15.98 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.3236, allocations: 296.8 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.3237, allocations: 34.44 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.3237, allocations: 8.922 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3237, allocations: 0 / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.3239, allocations: 63.39 kB / 0.7871 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3239, allocations: 0 / 0.7871 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002599/0.3241, allocations: 73.59 kB / 0.7872 GB, free: 480 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.3242, allocations: 59.28 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3243, allocations: 105.8 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3244, allocations: 33.7 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3244, allocations: 88.12 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3245, allocations: 11.89 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.3245, allocations: 29.7 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5138/0.8384, allocations: 311.7 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.8386, allocations: 30.86 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.8387, allocations: 54.28 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.8388, allocations: 80.95 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8389, allocations: 3.75 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002778/0.8391, allocations: 152.1 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.8392, allocations: 34.95 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8392, allocations: 5.672 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8392, allocations: 3.047 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.8393, allocations: 4.438 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8393, allocations: 2.344 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.8396, allocations: 32.25 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.8396, allocations: 2.75 kB / 0.7882 GB, free: 48.45 MB / 0.6544 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 9.046e-05/0.8397, allocations: 121.3 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.8397, allocations: 6.016 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.8397, allocations: 9.016 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8398, allocations: 2.625 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8398, allocations: 6.688 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8398, allocations: 0 / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.8399, allocations: 159.3 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8399, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.8399, allocations: 2.719 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8399, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.84, allocations: 10.12 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.84, allocations: 3.375 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.84, allocations: 3.938 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.8401, allocations: 82.89 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.8401, allocations: 83.97 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8401, allocations: 0.625 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.8402, allocations: 9 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.8402, allocations: 7.25 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.8402, allocations: 6.172 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.8403, allocations: 83.25 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8403, allocations: 0 / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002342/0.8405, allocations: 18.19 kB / 0.7888 GB, free: 47.91 MB / 0.6544 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.0001449/0.8406, allocations: 107.9 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8409, allocations: 127.7 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8409, allocations: 2.125 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.8409, allocations: 14.69 kB / 0.789 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.8411, allocations: 11.5 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.8414, allocations: 156.3 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.8416, allocations: 0.6822 MB / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.8416, allocations: 10.22 kB / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8416, allocations: 0 / 0.7899 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.002378/0.844, allocations: 0.9256 MB / 0.7908 GB, free: 46.91 MB / 0.6544 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)