Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.597/1.597, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.00101/0.001011, allocations: 179.4 kB / 371.1 MB, free: 10.81 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.335/1.335, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007571/0.0007571, allocations: 91.16 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 16.66 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007095/0.1825, allocations: 349.9 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1836, allocations: 1.09 MB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.1837, allocations: 3.938 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1837, allocations: 4 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.1838, allocations: 3.938 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1843, allocations: 107.5 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.488e-05/0.1844, allocations: 71.83 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1845, allocations: 0 / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.1846, allocations: 43.89 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.1847, allocations: 15.97 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1847, allocations: 8 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.1847, allocations: 23.92 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1848, allocations: 4 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1848, allocations: 29.7 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.069e-05/0.1849, allocations: 59.86 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1849, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1849, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1849, allocations: 0 / 0.9805 GB, free: 26.25 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.0003259/0.1853, allocations: 365.4 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1853, allocations: 8.031 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.1853, allocations: 42.73 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1854, allocations: 4.938 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.1855, allocations: 172.2 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1855, allocations: 4.312 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1855, allocations: 8.375 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/0.1856, allocations: 38.25 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1856, allocations: 3.938 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1856, allocations: 3.938 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1856, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.1857, allocations: 11.98 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.186, allocations: 288.9 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.1861, allocations: 34.45 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.1861, allocations: 12.91 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1861, allocations: 0 / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.1862, allocations: 63.39 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.1862, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001808/0.1864, allocations: 77.47 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1865, allocations: 55.41 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.1865, allocations: 105.8 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1865, allocations: 25.7 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.1866, allocations: 92.12 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.1866, allocations: 11.89 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.1866, allocations: 4 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.1867, allocations: 314.8 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.1867, allocations: 27.98 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.1868, allocations: 54.55 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.1869, allocations: 84.16 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1869, allocations: 0 / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001936/0.1871, allocations: 163.2 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1871, allocations: 31.42 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1871, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1872, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.1872, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1872, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1874, allocations: 40.02 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1875, allocations: 8 kB / 0.9826 GB, free: 23.86 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.891e-05/0.1875, allocations: 125.7 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.1875, allocations: 64 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.1876, allocations: 19.89 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1876, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1876, allocations: 0 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1876, allocations: 240 / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.663e-05/0.1877, allocations: 165.6 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1877, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.1877, allocations: 7.969 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1877, allocations: 0 / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1877, allocations: 4 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1877, allocations: 0 / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1877, allocations: 0 / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.1878, allocations: 92.91 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.1878, allocations: 81.11 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1879, allocations: 11.92 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.1879, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.1879, allocations: 3.938 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1879, allocations: 4 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.1879, allocations: 87.27 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1879, allocations: 0 / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001787/0.1881, allocations: 19.94 kB / 0.9832 GB, free: 23.16 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.0002417/0.1884, allocations: 0.6241 MB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1885, allocations: 127.3 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1886, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.1886, allocations: 12 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.1888, allocations: 15.56 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.1895, allocations: 0.5147 MB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.1896, allocations: 0.6809 MB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.1896, allocations: 4 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1897, allocations: 23.36 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.1897, allocations: 0 / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.2025, allocations: 1.775 MB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.2026, allocations: 198.7 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/1.642, allocations: 0 / 0.987 GB, free: 19.21 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)