Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.4 MB / 303.3 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000709/0.0007092, allocations: 86.86 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 11 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007637/0.1899, allocations: 342.2 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1911, allocations: 1.087 MB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.1911, allocations: 4 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.1911, allocations: 0 / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.1912, allocations: 11.92 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1916, allocations: 103 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.1917, allocations: 67.89 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.1918, allocations: 7.984 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.1919, allocations: 27.92 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.1919, allocations: 31.89 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.192, allocations: 4 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.192, allocations: 15.98 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1921, allocations: 4 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.1921, allocations: 37.64 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.1922, allocations: 55.86 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1922, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1922, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1922, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003527/0.1926, allocations: 373.2 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1926, allocations: 12.02 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.1927, allocations: 34.56 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1927, allocations: 8 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.1928, allocations: 170.9 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1928, allocations: 4 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1928, allocations: 7.984 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.657e-05/0.1929, allocations: 33.7 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1929, allocations: 4 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1929, allocations: 7.922 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.193, allocations: 0 / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.193, allocations: 11.94 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1933, allocations: 296.8 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.1933, allocations: 26.58 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.1934, allocations: 8.922 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.1934, allocations: 0 / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/0.1935, allocations: 75.27 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1935, allocations: 4 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001591/0.1937, allocations: 65.67 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1937, allocations: 55.39 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.1937, allocations: 109.8 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1938, allocations: 33.7 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.1938, allocations: 84.14 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.1938, allocations: 7.906 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.1938, allocations: 4 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.1939, allocations: 318.8 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.194, allocations: 35.97 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.194, allocations: 50.5 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.1941, allocations: 61.69 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1941, allocations: 0 / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001925/0.1943, allocations: 151.3 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.1944, allocations: 35.11 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1944, allocations: 4.062 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1944, allocations: 0 / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.1944, allocations: 7.984 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1944, allocations: 0 / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1947, allocations: 46.12 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1947, allocations: 8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.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): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 5.852e-05/0.1948, allocations: 117.8 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.1948, allocations: 11.92 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.1948, allocations: 3.906 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1948, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1948, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1948, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.841e-05/0.1949, allocations: 169.6 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1949, allocations: 0 / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.1949, allocations: 4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1949, allocations: 4 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1949, allocations: 0 / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1949, allocations: 0 / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1949, allocations: 0 / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.329e-05/0.195, allocations: 96.84 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.1951, allocations: 81.11 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1951, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.1951, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1951, allocations: 4 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1951, allocations: 11.94 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.1952, allocations: 83.27 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1952, allocations: 0 / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000184/0.1954, allocations: 23.94 kB / 0.984 GB, free: 22.7 MB / 0.6198 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,$whenCondition2,booPul.y) * 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.0002425/0.1956, allocations: 0.6241 MB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.1958, allocations: 127.3 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1958, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.1958, allocations: 15.98 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.196, allocations: 8 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.1966, allocations: 0.5139 MB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.225e-05/0.1967, allocations: 0.6809 MB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.1968, allocations: 4 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1968, allocations: 15.38 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1968, allocations: 4 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009998/0.2068, allocations: 1.78 MB / 0.9877 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.2069, allocations: 224.5 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.724, allocations: 0 / 0.9879 GB, free: 18.74 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)