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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001596/0.001596, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.608/1.608, allocations: 205.1 MB / 222 MB, free: 5.012 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.944/1.944, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001349/0.001349, allocations: 65.11 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2819, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002643/0.2847, allocations: 0.6766 MB / 0.7833 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2865, allocations: 1.122 MB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.2866, allocations: 0 / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.2866, allocations: 0 / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.2868, allocations: 3.938 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.2873, allocations: 110.8 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2874, allocations: 79.88 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2875, allocations: 11.98 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.2876, allocations: 27.92 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2877, allocations: 31.89 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.2878, allocations: 7.938 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.2879, allocations: 15.98 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2879, allocations: 4 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.288, allocations: 27.91 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2881, allocations: 87.72 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2881, allocations: 0 / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2882, allocations: 4 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2882, allocations: 4 kB / 0.7848 GB, free: 11.76 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.0005422/0.2887, allocations: 373.4 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2888, allocations: 12.03 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.2888, allocations: 8.844 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.289, allocations: 164.4 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.289, allocations: 8.359 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.289, allocations: 4.375 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.2892, allocations: 42.25 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2892, allocations: 8.125 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2892, allocations: 3.938 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2892, allocations: 0 / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.2893, allocations: 8 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.2898, allocations: 296.8 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.2899, allocations: 30.52 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.2899, allocations: 12.92 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.29, allocations: 0 / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.2902, allocations: 71.27 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2902, allocations: 0 / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000248/0.2905, allocations: 73.58 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2905, allocations: 51.41 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.2906, allocations: 109.8 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2907, allocations: 29.7 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.128e-05/0.2907, allocations: 96.08 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.2908, allocations: 3.906 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.2908, allocations: 33.7 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.291, allocations: 318.8 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.2911, allocations: 31.98 kB / 0.7865 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.2911, allocations: 42.56 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.2913, allocations: 92.33 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2913, allocations: 7.875 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002716/0.2916, allocations: 151.4 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.2916, allocations: 37.69 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2916, allocations: 0 / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.2917, allocations: 8.031 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.2918, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2918, allocations: 8.062 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.292, allocations: 23.97 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2921, allocations: 11.98 kB / 0.7869 GB, free: 9.363 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.0001588/0.2922, allocations: 118.4 kB / 0.787 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.2922, allocations: 4 kB / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.2923, allocations: 7.906 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2923, allocations: 0 / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2923, allocations: 4 kB / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2923, allocations: 0 / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2925, allocations: 169.5 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2925, allocations: 0 / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.2925, allocations: 4 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2925, allocations: 0 / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2925, allocations: 0 / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2926, allocations: 3.938 kB / 0.7872 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2926, allocations: 3.984 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.2927, allocations: 93 kB / 0.7873 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.2928, allocations: 81.11 kB / 0.7874 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2928, allocations: 0 / 0.7874 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.2928, allocations: 0 / 0.7874 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2929, allocations: 7.984 kB / 0.7874 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2929, allocations: 0 / 0.7874 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.2929, allocations: 83.28 kB / 0.7875 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2929, allocations: 0 / 0.7875 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002577/0.2932, allocations: 16 kB / 0.7875 GB, free: 8.676 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.0002174/0.2934, allocations: 115.2 kB / 0.7876 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.2937, allocations: 123.3 kB / 0.7877 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2937, allocations: 0 / 0.7877 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.2937, allocations: 15.98 kB / 0.7877 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.294, allocations: 11.94 kB / 0.7877 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.2943, allocations: 139.8 kB / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2947, allocations: 0.6848 MB / 0.7885 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2947, allocations: 0 / 0.7885 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.2947, allocations: 15.44 kB / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2947, allocations: 0 / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.004225/0.299, allocations: 1.031 MB / 0.7896 GB, free: 6.488 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)