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.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.542/1.542, allocations: 252 MB / 267.3 MB, free: 10.84 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.001028/0.001028, allocations: 172.3 kB / 327 MB, free: 2.082 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.714/1.714, 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.0007659/0.0007659, allocations: 89.81 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 12 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2063, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001283/0.2077, allocations: 1.049 MB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.208, allocations: 188.4 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.208, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.2081, allocations: 3.938 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.2081, allocations: 3.938 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2083, allocations: 15.98 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.2083, allocations: 23.94 kB / 0.9022 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.2084, allocations: 15.97 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.2085, allocations: 11.94 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.2085, allocations: 15.91 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2086, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.2086, allocations: 4 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.2086, allocations: 4 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.2086, allocations: 37.58 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.912e-05/0.2087, allocations: 27.88 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2087, allocations: 0 / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2087, allocations: 4 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2087, allocations: 4 kB / 0.9023 GB, free: 61.81 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.0003789/0.2091, allocations: 339.8 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2092, allocations: 8.031 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.2092, allocations: 30.75 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.2092, allocations: 8.844 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.2093, allocations: 164.4 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2094, allocations: 8.312 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2094, allocations: 4.375 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/0.2095, allocations: 42.25 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2095, allocations: 3.938 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2095, allocations: 0 / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2095, allocations: 0 / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.161e-05/0.2095, allocations: 19.92 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.2098, allocations: 260.9 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.2102, allocations: 94.39 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.2102, allocations: 16.92 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2102, allocations: 0 / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.2104, allocations: 67.41 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2104, allocations: 0 / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001674/0.2106, allocations: 57.69 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.2106, allocations: 55.41 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.2107, allocations: 105.8 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2107, allocations: 29.7 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.2107, allocations: 88.14 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.2108, allocations: 3.906 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2108, allocations: 3.938 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.2108, allocations: 322.8 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2108, allocations: 4 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.2109, allocations: 17.72 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.2109, allocations: 41.64 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2109, allocations: 0 / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.254e-05/0.211, allocations: 57.72 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.211, allocations: 6.969 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.211, allocations: 4 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.211, allocations: 48 / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.2111, allocations: 11.98 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2111, allocations: 0 / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.2111, allocations: 11.95 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2112, allocations: 8 kB / 0.9041 GB, free: 59.71 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: 4 ($whenCondition1,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 4.979e-05/0.2112, allocations: 113.8 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.2112, allocations: 7.938 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.2113, allocations: 3.906 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2113, allocations: 3.938 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2113, allocations: 4 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2113, allocations: 0 / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.2114, allocations: 169.5 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2114, allocations: 0 / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.2114, allocations: 8 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2114, allocations: 0 / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2115, allocations: 0 / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2115, allocations: 0 / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2115, allocations: 0 / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.2116, allocations: 88.98 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.2116, allocations: 77.11 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2116, allocations: 384 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.2117, allocations: 15.98 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2117, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2117, allocations: 11.94 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.2117, allocations: 87.27 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2118, allocations: 0 / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001704/0.2119, allocations: 8 kB / 0.9047 GB, free: 59.02 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: 3 ($whenCondition1,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.0002324/0.2122, allocations: 0.6163 MB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.2123, allocations: 27.92 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2123, allocations: 0 / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.2123, allocations: 12 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.2125, allocations: 19.17 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.2132, allocations: 1.184 MB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2133, allocations: 0.684 MB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.201e-05/0.2133, allocations: 0 / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.2134, allocations: 19.42 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2134, allocations: 0 / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/0.3598, allocations: 1.226 MB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.3601, allocations: 225.8 kB / 0.9086 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.124, allocations: 4.062 kB / 0.9086 GB, free: 55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)