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.307/1.307, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0009687/0.0009688, allocations: 177 kB / 325.8 MB, free: 2.699 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.489/1.489, allocations: 205 MB / 0.576 GB, free: 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.0007404/0.0007404, allocations: 92.06 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 9.125 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001191/0.1925, allocations: 1.049 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.1928, allocations: 189 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.1929, allocations: 4 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.1929, allocations: 3.938 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.193, allocations: 3.984 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.1931, allocations: 11.94 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.1932, allocations: 27.92 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.1932, allocations: 8.281 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.1933, allocations: 11.92 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.1933, allocations: 15.92 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1934, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.1934, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1934, allocations: 11.98 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1934, allocations: 11.94 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.366e-05/0.1935, allocations: 31.83 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1935, allocations: 0 / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1935, allocations: 0 / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1935, allocations: 0 / 0.8975 GB, free: 66.71 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.0003567/0.1939, allocations: 335.6 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1939, allocations: 8.031 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.194, allocations: 42.69 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.194, allocations: 8.844 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.1941, allocations: 168.3 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1941, allocations: 4.375 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.1941, allocations: 384 / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.1942, allocations: 42.25 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1942, allocations: 3.938 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1942, allocations: 3.984 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1942, allocations: 0 / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.1943, allocations: 12 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.1945, allocations: 268.8 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1948, allocations: 94.55 kB / 0.8985 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.1949, allocations: 16.91 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1949, allocations: 0 / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.195, allocations: 63.34 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.195, allocations: 3.938 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001358/0.1951, allocations: 65.62 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.1952, allocations: 51.41 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/0.1952, allocations: 105.8 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.1952, allocations: 25.7 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.1953, allocations: 92.12 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.1953, allocations: 3.906 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.1953, allocations: 17.72 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.1953, allocations: 310.8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.1954, allocations: 15.98 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.1954, allocations: 25.91 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.1954, allocations: 25.66 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1954, allocations: 0 / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.686e-05/0.1955, allocations: 61.53 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1955, allocations: 8 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1955, allocations: 128 / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1956, allocations: 8.031 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.499e-05/0.1956, allocations: 4 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1956, allocations: 3.984 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1957, allocations: 8 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1957, allocations: 0 / 0.8994 GB, free: 64.59 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,booPul.pulseStart,$PRE.booPul.pulseStart,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): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 4.757e-05/0.1957, allocations: 117.8 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.1957, allocations: 0 / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.1958, allocations: 11.89 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1958, allocations: 8 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1958, allocations: 0 / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1958, allocations: 0 / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.481e-05/0.1959, allocations: 165.6 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1959, allocations: 0 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.1959, allocations: 3.938 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1959, allocations: 240 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1959, allocations: 4 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1959, allocations: 0 / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1959, allocations: 0 / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.5e-05/0.196, allocations: 88.95 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.196, allocations: 89.05 kB / 0.8998 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.196, allocations: 7.922 kB / 0.8998 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.1961, allocations: 4 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1961, allocations: 7.984 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1961, allocations: 0 / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.1962, allocations: 87.22 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1962, allocations: 4 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001704/0.1963, allocations: 8 kB / 0.9 GB, free: 63.89 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 (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.0002278/0.1966, allocations: 0.6261 MB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.916e-05/0.1967, allocations: 23.98 kB / 0.9006 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1967, allocations: 0 / 0.9006 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.1967, allocations: 20 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.1969, allocations: 7.938 kB / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.1976, allocations: 1.173 MB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.444e-05/0.1977, allocations: 0.6878 MB / 0.9024 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.1977, allocations: 8 kB / 0.9024 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1977, allocations: 11.42 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1977, allocations: 0 / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009346/0.2071, allocations: 1.22 MB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.2072, allocations: 232.4 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.684, allocations: 4 kB / 0.9039 GB, free: 59.89 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)