Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 184.5 kB / 326.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007988/0.0007989, allocations: 88.81 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2173, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001318/0.2187, allocations: 1.025 MB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003305/0.219, allocations: 181.7 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.2191, allocations: 4 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2191, allocations: 0 / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2192, allocations: 4 kB / 0.9013 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.2193, allocations: 11.94 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.2194, allocations: 27.89 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.2195, allocations: 4 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.2195, allocations: 11.98 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.2196, allocations: 7.938 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2196, allocations: 0 / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.2196, allocations: 4 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.2196, allocations: 11.92 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.2197, allocations: 25.7 kB / 0.9014 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.736e-05/0.2197, allocations: 23.95 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2197, allocations: 4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2197, allocations: 0 / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2198, allocations: 3.938 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003968/0.2202, allocations: 336.1 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2202, allocations: 8.031 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.2202, allocations: 38.56 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.2203, allocations: 3.906 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.284e-05/0.2204, allocations: 179 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2204, allocations: 0 / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.2204, allocations: 0 / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.2205, allocations: 45.62 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2205, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2205, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2205, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.2206, allocations: 15.98 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.2209, allocations: 260.9 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.2212, allocations: 94.45 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2213, allocations: 0 / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.2214, allocations: 59.55 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2214, allocations: 0 / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.2216, allocations: 61.59 kB / 0.9025 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2216, allocations: 55.34 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.2217, allocations: 109.8 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2217, allocations: 33.7 kB / 0.9027 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.2217, allocations: 84.14 kB / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.2217, allocations: 7.906 kB / 0.9028 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.2217, allocations: 0 / 0.9028 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.2218, allocations: 318.8 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.2218, allocations: 12 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.2218, allocations: 21.97 kB / 0.9031 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.2219, allocations: 16 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2219, allocations: 0 / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.645e-05/0.222, allocations: 57.62 kB / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.222, allocations: 4 kB / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.222, allocations: 0 / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.222, allocations: 0 / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.711e-05/0.222, allocations: 7.984 kB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.222, allocations: 0 / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.2221, allocations: 19.84 kB / 0.9032 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.2221, allocations: 7.984 kB / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 5.47e-05/0.2222, allocations: 109.8 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.2222, allocations: 3.938 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.2222, allocations: 15.89 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2222, allocations: 240 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2222, allocations: 0 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2222, allocations: 3.984 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.2223, allocations: 165.6 kB / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2223, allocations: 3.938 kB / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.2224, allocations: 0 / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2224, allocations: 4 kB / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2224, allocations: 8 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2224, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2224, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.2225, allocations: 80.98 kB / 0.9036 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.2225, allocations: 81.11 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2225, allocations: 3.984 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.2226, allocations: 8 kB / 0.9037 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.2226, allocations: 7.984 kB / 0.9037 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.2226, allocations: 0 / 0.9037 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.2227, allocations: 83.28 kB / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2227, allocations: 0 / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001878/0.2229, allocations: 8 kB / 0.9038 GB, free: 59.68 MB / 0.6042 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,booToInt.y,booPul.y,booPul.pulseStart) * 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.0002518/0.2231, allocations: 0.6241 MB / 0.9044 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.973e-05/0.2232, allocations: 31.86 kB / 0.9045 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2232, allocations: 0 / 0.9045 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.2233, allocations: 12 kB / 0.9045 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.2234, allocations: 4 kB / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.2239, allocations: 0.5618 MB / 0.905 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.224, allocations: 0.6848 MB / 0.9057 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.2241, allocations: 0 / 0.9057 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.2241, allocations: 11.44 kB / 0.9057 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2241, allocations: 4 kB / 0.9057 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.2356, allocations: 1.201 MB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.2357, allocations: 222.5 kB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.911, allocations: 1.406 kB / 0.9071 GB, free: 56.36 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)