Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 190.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.3 MB / 0.5486 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 75.7 kB / 0.6711 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1932, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001674/0.1949, allocations: 0.696 MB / 0.7837 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.196, allocations: 1.107 MB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.196, allocations: 0 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.1961, allocations: 3.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.1961, allocations: 11.94 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1965, allocations: 103.1 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1966, allocations: 95.83 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.403e-05/0.1967, allocations: 8 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.1968, allocations: 43.89 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.1968, allocations: 23.97 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1969, allocations: 8 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.846e-05/0.1969, allocations: 19.98 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.197, allocations: 11.94 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.197, allocations: 31.89 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1971, allocations: 79.8 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1972, allocations: 3.984 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1972, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1972, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 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.0003863/0.1976, allocations: 377.4 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1976, allocations: 12.03 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.498e-05/0.1976, allocations: 30.75 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.1977, allocations: 8.844 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.1978, allocations: 168.3 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1978, allocations: 4.375 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1978, allocations: 12.36 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.339e-05/0.1979, allocations: 38.27 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1979, allocations: 11.86 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.1979, allocations: 0 / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1979, allocations: 0 / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.198, allocations: 8 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1983, allocations: 288.9 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.56e-05/0.1984, allocations: 34.45 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.1984, allocations: 16.92 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1984, allocations: 0 / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.1985, allocations: 59.39 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1985, allocations: 0 / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.1987, allocations: 73.52 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1987, allocations: 59.41 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.1988, allocations: 109.8 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1988, allocations: 29.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1989, allocations: 88.14 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1989, allocations: 11.89 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.199, allocations: 33.7 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1991, allocations: 318.8 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.1991, allocations: 27.98 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.1992, allocations: 46.56 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1993, allocations: 100.2 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1993, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002351/0.1996, allocations: 147.2 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.1996, allocations: 41.69 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1996, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1996, allocations: 4 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.1997, allocations: 0 / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1997, allocations: 8.062 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1999, allocations: 23.97 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1999, allocations: 7.984 kB / 0.7873 GB, free: 9.141 MB / 0.6075 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,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.2, allocations: 121.7 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.2, allocations: 7.906 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.2001, allocations: 4.141 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2001, allocations: 0 / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2001, allocations: 4 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2001, allocations: 3.984 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2002, allocations: 169.6 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2002, allocations: 0 / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.2002, allocations: 4 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2002, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2002, allocations: 3.938 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2002, allocations: 400 / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2002, allocations: 0 / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.2004, allocations: 93.05 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.2004, allocations: 81.02 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2004, allocations: 0 / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.2004, allocations: 7.938 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.2005, allocations: 11.92 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2005, allocations: 4 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.2005, allocations: 87.27 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2005, allocations: 4 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001999/0.2007, allocations: 15.94 kB / 0.7879 GB, free: 8.426 MB / 0.6075 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 (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.0003401/0.2011, allocations: 0.6281 MB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.2013, allocations: 131.3 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2013, allocations: 0 / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.2013, allocations: 16 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.2015, allocations: 12.11 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2027, allocations: 1.388 MB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2029, allocations: 0.6807 MB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.2029, allocations: 4 kB / 0.7907 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.2029, allocations: 15.44 kB / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2029, allocations: 0 / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3623/0.5652, allocations: 1.9 MB / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.5656, allocations: 223.5 kB / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.581, allocations: 0 / 0.7927 GB, free: 3.371 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)