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.641/1.641, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.572 GB, free: 10.71 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.0009855/0.0009856, allocations: 100.2 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.542e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7158/0.9277, allocations: 131.4 MB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.928, allocations: 69.52 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001688/0.9297, allocations: 0.6588 MB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9297, allocations: 0 / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9297, allocations: 0 / 1.021 GB, free: 2.695 MB / 0.6355 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.0003783/0.9301, allocations: 337.9 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.9302, allocations: 12.03 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.9302, allocations: 31.38 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.9302, allocations: 7.938 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.9304, allocations: 170.9 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.9304, allocations: 0 / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.9304, allocations: 4 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.9305, allocations: 40 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.9306, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.9306, allocations: 6.5 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.9306, allocations: 0 / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.9306, allocations: 19.86 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.931, allocations: 258.6 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.9314, allocations: 89.89 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.9314, allocations: 12.11 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.9314, allocations: 3.984 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.9316, allocations: 60.94 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.9316, allocations: 0 / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001492/0.9317, allocations: 51.31 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.9318, allocations: 55.41 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.9319, allocations: 104 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.9319, allocations: 25.7 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.9319, allocations: 88.03 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.932, allocations: 15.34 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.932, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9321, allocations: 314.8 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.9321, allocations: 6.719 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.9322, allocations: 28.66 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.9322, allocations: 11.55 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9322, allocations: 0 / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.36e-05/0.9323, allocations: 56.56 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9323, allocations: 4 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.9323, allocations: 3.938 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.9324, allocations: 0 / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.721e-05/0.9324, allocations: 4 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9324, allocations: 8.031 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.9325, allocations: 8.359 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.9325, allocations: 3.953 kB / 1.023 GB, free: 0.7422 MB / 0.6355 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 () * 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.46e-05/0.9326, allocations: 108.5 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.9326, allocations: 3.906 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.9326, allocations: 11.97 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9326, allocations: 7.938 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9326, allocations: 0 / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9326, allocations: 4 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.9328, allocations: 171.4 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9328, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.9328, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9328, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.9328, allocations: 7.062 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9328, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9329, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.933, allocations: 83.12 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.933, allocations: 89.02 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.933, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.9331, allocations: 4 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.9331, allocations: 11.67 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.9331, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.9332, allocations: 86.47 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9332, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001644/0.9334, allocations: 4 kB / 1.023 GB, free: 92 kB / 0.6355 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 () * 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.0003949/0.9338, allocations: 0.6271 MB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.414e-05/0.9339, allocations: 19 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9339, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.9339, allocations: 14.88 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.9341, allocations: 15.11 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.9344, allocations: 105.2 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.9347, allocations: 0.6887 MB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.9347, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.9347, allocations: 14.81 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of SimCode: time 6.72e-07/0.9348, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.9458, allocations: 1.225 MB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/0.9462, allocations: 179.9 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.481, allocations: 4 kB / 1.026 GB, free: 13.22 MB / 0.6511 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)