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.506/1.506, allocations: 252 MB / 267.3 MB, free: 10.86 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: 180.5 kB / 327 MB, free: 2.102 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.883/1.883, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0009056/0.0009058, allocations: 84.61 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 12.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001199/0.201, allocations: 1.046 MB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.2013, allocations: 184.3 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.2014, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.2014, allocations: 3.938 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.2015, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.2016, allocations: 19.97 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.2017, allocations: 27.88 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.2018, allocations: 11.98 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.2018, allocations: 11.94 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.2019, allocations: 15.92 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2019, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.2019, allocations: 4 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2019, allocations: 0 / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.202, allocations: 41.58 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.258e-05/0.202, allocations: 27.88 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.202, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2021, allocations: 4 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2021, allocations: 0 / 0.9023 GB, free: 61.98 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.0003449/0.2024, allocations: 339.8 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2025, allocations: 8.031 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.2025, allocations: 42.67 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.2025, allocations: 8.844 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.2026, allocations: 160.4 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2026, allocations: 4.375 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2026, allocations: 4.375 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.2027, allocations: 42.25 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2027, allocations: 7.938 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.2027, allocations: 3.938 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2027, allocations: 0 / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.2028, allocations: 19.97 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.2031, allocations: 260.8 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.2034, allocations: 94.45 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.2034, allocations: 8.922 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2034, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.2035, allocations: 67.48 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2036, allocations: 3.938 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001384/0.2037, allocations: 57.69 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.2037, allocations: 51.41 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.2038, allocations: 105.8 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.2038, allocations: 25.7 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.2038, allocations: 88.14 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.2039, allocations: 7.906 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.2039, allocations: 0 / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.2039, allocations: 322.8 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.2039, allocations: 8 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.204, allocations: 17.72 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.204, allocations: 37.58 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.204, allocations: 0 / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.834e-05/0.2041, allocations: 61.55 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2041, allocations: 7.984 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2041, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2041, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.687e-05/0.2042, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2042, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.2042, allocations: 7.938 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2042, allocations: 7.938 kB / 0.9041 GB, free: 59.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.2043, allocations: 125.8 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.2043, allocations: 0 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.2043, allocations: 3.906 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2044, allocations: 0 / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2044, allocations: 4 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2044, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.927e-05/0.2045, allocations: 169.6 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2045, allocations: 3.938 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.2045, allocations: 4 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2045, allocations: 3.938 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2045, allocations: 4 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2045, allocations: 384 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2045, allocations: 4 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.919e-05/0.2046, allocations: 89.17 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.2046, allocations: 77.11 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2046, allocations: 8 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.2047, allocations: 8 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.2047, allocations: 7.984 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2047, allocations: 4 kB / 0.9046 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.2048, allocations: 87.27 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2048, allocations: 0 / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00016/0.2049, allocations: 8 kB / 0.9047 GB, free: 59.19 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.000216/0.2052, allocations: 0.6201 MB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.2052, allocations: 23.98 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2053, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.2053, allocations: 15.94 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.2055, allocations: 11.98 kB / 0.9053 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.2062, allocations: 1.188 MB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.2063, allocations: 0.6809 MB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.2063, allocations: 0 / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.2064, allocations: 15.44 kB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2064, allocations: 0 / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.2193, allocations: 1.224 MB / 0.9084 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.2196, allocations: 230.7 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.889, allocations: 0 / 0.9086 GB, free: 55.18 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)