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.312/1.312, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009469/0.0009469, allocations: 166.1 kB / 325.8 MB, free: 2.711 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.495/1.495, allocations: 205 MB / 0.576 GB, free: 21.03 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.0007546/0.0007546, allocations: 82.23 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 8.812 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1857, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001182/0.1869, allocations: 1.053 MB / 0.8972 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003003/0.1872, allocations: 189.1 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.1873, allocations: 4 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.1873, allocations: 3.938 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.1874, allocations: 3.938 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.1875, allocations: 11.92 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.1876, allocations: 27.94 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.1876, allocations: 12.27 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.1877, allocations: 11.94 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.1877, allocations: 11.92 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1878, allocations: 0 / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.1878, allocations: 0 / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.1878, allocations: 7.984 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.1878, allocations: 7.938 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.929e-05/0.1879, allocations: 35.83 kB / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1879, allocations: 0 / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1879, allocations: 0 / 0.8976 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1879, allocations: 3.938 kB / 0.8976 GB, free: 66.7 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.0003527/0.1883, allocations: 339.6 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1883, allocations: 12.03 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.1883, allocations: 34.73 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.1884, allocations: 4.844 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.1884, allocations: 172.3 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1885, allocations: 4.375 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.1885, allocations: 4.375 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.205e-05/0.1886, allocations: 42.25 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1886, allocations: 3.938 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1886, allocations: 4 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1886, allocations: 0 / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.1886, allocations: 19.92 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.1889, allocations: 252.9 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1892, allocations: 98.39 kB / 0.8985 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.1892, allocations: 20.92 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.1892, allocations: 0 / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.1894, allocations: 63.41 kB / 0.8986 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1894, allocations: 0 / 0.8986 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001336/0.1895, allocations: 61.69 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.1895, allocations: 51.41 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/0.1896, allocations: 109.8 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.1896, allocations: 25.7 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.1896, allocations: 88.12 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.1896, allocations: 11.91 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.1897, allocations: 9.719 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.1897, allocations: 322.8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.1897, allocations: 4 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.1898, allocations: 21.66 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.1898, allocations: 45.58 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1898, allocations: 0 / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.608e-05/0.1899, allocations: 61.53 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1899, allocations: 6.656 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1899, allocations: 4 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1899, allocations: 0 / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.417e-05/0.1899, allocations: 4 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.19, allocations: 0 / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.19, allocations: 7.984 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.19, allocations: 8.031 kB / 0.8994 GB, free: 64.58 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.pulseStart,$PRE.booPul.pulseStart,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): 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.592e-05/0.1901, allocations: 113.8 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.1901, allocations: 4 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.1901, allocations: 3.906 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1901, allocations: 0 / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1901, allocations: 4 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1901, allocations: 0 / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.109e-05/0.1902, allocations: 173.4 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1902, allocations: 0 / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.1902, allocations: 8.375 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1902, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1903, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1903, allocations: 7.938 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1903, allocations: 3.984 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.349e-05/0.1903, allocations: 81.06 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.1904, allocations: 81.05 kB / 0.8998 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1904, allocations: 0 / 0.8998 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.1904, allocations: 15.98 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1905, allocations: 0 / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1905, allocations: 4 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.407e-05/0.1905, allocations: 87.27 kB / 0.9 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1905, allocations: 0 / 0.9 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001714/0.1907, allocations: 12 kB / 0.9 GB, free: 63.89 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.0002156/0.1909, allocations: 0.6165 MB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.082e-05/0.191, allocations: 31.91 kB / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.191, allocations: 0 / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.191, allocations: 12 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.1912, allocations: 19.92 kB / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.1919, allocations: 1.177 MB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.1919, allocations: 0.6809 MB / 0.9024 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.192, allocations: 0 / 0.9024 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.192, allocations: 15.44 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.192, allocations: 0 / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009513/0.2015, allocations: 1.231 MB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.2017, allocations: 230.3 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.652, allocations: 4.062 kB / 0.9039 GB, free: 59.87 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)