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.432/1.432, allocations: 252 MB / 267 MB, free: 10.97 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.0009951/0.0009952, allocations: 189 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007769/0.0007769, allocations: 91.78 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003228, allocations: 8.344 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00146/0.2412, allocations: 1.034 MB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003864/0.2416, allocations: 188.4 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.2417, allocations: 0 / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2417, allocations: 0 / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.2418, allocations: 11.92 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.2419, allocations: 11.98 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.242, allocations: 31.86 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2421, allocations: 4 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.2422, allocations: 4 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.2423, allocations: 15.92 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2423, allocations: 0 / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2423, allocations: 0 / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.2424, allocations: 7.938 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.2424, allocations: 29.7 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.871e-05/0.2425, allocations: 27.94 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2425, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2425, allocations: 0 / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2425, allocations: 4 kB / 0.9016 GB, free: 62.43 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.0005388/0.2431, allocations: 339.6 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.2432, allocations: 11.97 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.2432, allocations: 30.56 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.2433, allocations: 7.906 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2434, allocations: 171 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2434, allocations: 8 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.2435, allocations: 0 / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.2436, allocations: 45.62 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2436, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2436, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2436, allocations: 4 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.2437, allocations: 12 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.2441, allocations: 264.9 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.2445, allocations: 98.42 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.2445, allocations: 12.92 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2446, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.2447, allocations: 55.5 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2447, allocations: 0 / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000195/0.2449, allocations: 69.52 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.245, allocations: 55.41 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.2451, allocations: 109.8 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.2451, allocations: 29.69 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.2451, allocations: 84.14 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2451, allocations: 7.906 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-06/0.2452, allocations: 0 / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.2452, allocations: 310.8 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.2453, allocations: 11.98 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.2453, allocations: 25.72 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.2453, allocations: 8 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2453, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.66e-05/0.2454, allocations: 57.53 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2455, allocations: 8 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2455, allocations: 0 / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2455, allocations: 0 / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.322e-05/0.2455, allocations: 8 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2455, allocations: 3.984 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.2456, allocations: 23.91 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2456, allocations: 3.938 kB / 0.9034 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.2457, allocations: 113.8 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.2457, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.2458, allocations: 7.906 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2458, allocations: 3.938 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2458, allocations: 3.984 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2458, allocations: 0 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2459, allocations: 169.6 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2459, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.2459, allocations: 3.984 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2459, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2459, allocations: 4 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2459, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.246, allocations: 3.938 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.2461, allocations: 81.36 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.2461, allocations: 77.39 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2461, allocations: 8 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.2462, allocations: 11.98 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2463, allocations: 11.97 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2463, allocations: 0 / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.2463, allocations: 87.22 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2463, allocations: 0 / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001926/0.2465, allocations: 8 kB / 0.904 GB, free: 59.67 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 (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.0004368/0.247, allocations: 0.6241 MB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.2471, allocations: 19.94 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2471, allocations: 0 / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.2472, allocations: 15.98 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2474, allocations: 17.34 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.2482, allocations: 421.1 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2485, allocations: 0.677 MB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.2485, allocations: 4 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.2486, allocations: 19.42 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2486, allocations: 0 / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.262, allocations: 1.226 MB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.2622, allocations: 217.6 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.775, allocations: 0 / 0.9072 GB, free: 56.48 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)