Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.589/2.589, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001581, allocations: 181.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 86.89 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007345/0.0007348, allocations: 12.16 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2829, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008334/0.2838, allocations: 345.9 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2853, allocations: 1.064 MB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.2854, allocations: 0 / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2854, allocations: 4 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.2855, allocations: 11.92 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.286, allocations: 107 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.334e-05/0.2861, allocations: 47.92 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.2862, allocations: 4 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.2863, allocations: 27.92 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.2864, allocations: 27.91 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2864, allocations: 4 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.2865, allocations: 23.97 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.2866, allocations: 3.984 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.2866, allocations: 37.7 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.2867, allocations: 55.81 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2868, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2868, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2868, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 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.000357/0.2871, allocations: 367.1 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2872, allocations: 12.02 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.2872, allocations: 42.5 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.2873, allocations: 4 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.2874, allocations: 182.8 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2874, allocations: 4 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.2875, allocations: 4 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.2876, allocations: 37.69 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2876, allocations: 4 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2876, allocations: 0 / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2876, allocations: 0 / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.2877, allocations: 8 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.2881, allocations: 300.8 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.2882, allocations: 30.56 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2882, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.2884, allocations: 59.45 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.2884, allocations: 0 / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002266/0.2886, allocations: 77.61 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2886, allocations: 51.41 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.2887, allocations: 117.7 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.2888, allocations: 25.7 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.2888, allocations: 88.14 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.2889, allocations: 3.906 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.2889, allocations: 4 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.2889, allocations: 318.8 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2891, allocations: 31.98 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2892, allocations: 50.5 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.2894, allocations: 65.62 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2894, allocations: 0 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000338/0.2897, allocations: 143.3 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.2898, allocations: 45.62 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2898, allocations: 4.062 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2898, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.2899, allocations: 4 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.2899, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.2903, allocations: 39.88 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2903, allocations: 12.02 kB / 0.982 GB, free: 24.18 MB / 0.6198 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,booToInt.y,$PRE.booPul.y,booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/0.2904, allocations: 121.8 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.2905, allocations: 4 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.2905, allocations: 7.906 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2905, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2905, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2905, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2907, allocations: 165.6 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2907, allocations: 0 / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.2907, allocations: 4 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2907, allocations: 7.938 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2907, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2907, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2908, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.2909, allocations: 92.97 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.291, allocations: 81.11 kB / 0.9825 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.291, allocations: 0 / 0.9825 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.291, allocations: 0 / 0.9825 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.2911, allocations: 11.98 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2911, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.2911, allocations: 87.27 kB / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2911, allocations: 0 / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000297/0.2914, allocations: 16 kB / 0.9826 GB, free: 23.49 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003668/0.2918, allocations: 0.6319 MB / 0.9832 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.2921, allocations: 127.6 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2921, allocations: 0 / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.2922, allocations: 19.92 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2924, allocations: 7.938 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.293, allocations: 0.6558 MB / 0.984 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.2932, allocations: 0.6848 MB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.2932, allocations: 3.984 kB / 0.9847 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.2933, allocations: 17.06 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.2933, allocations: 0 / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.3133, allocations: 1.741 MB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/0.3136, allocations: 204.9 kB / 0.9866 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.603, allocations: 0 / 0.9866 GB, free: 19.42 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)