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.0009328/0.0009328, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009097/0.0009097, allocations: 193.1 kB / 16.13 MB, free: 6.715 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.131/1.131, allocations: 205.1 MB / 222 MB, free: 4.789 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.525/1.525, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.00132/0.00132, allocations: 77.38 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1665, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001635/0.1682, allocations: 0.6883 MB / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1693, allocations: 1.118 MB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1694, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.1694, allocations: 0 / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.1695, allocations: 15.92 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1698, allocations: 103.1 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.1699, allocations: 79.81 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.1699, allocations: 8 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.17, allocations: 35.84 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1701, allocations: 31.91 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1701, allocations: 4 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.1702, allocations: 23.97 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1702, allocations: 4 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1702, allocations: 23.92 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1703, allocations: 79.78 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1704, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.21e-07/0.1704, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1704, allocations: 0 / 0.785 GB, free: 11.72 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.0003584/0.1707, allocations: 381.4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1708, allocations: 8.031 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.1708, allocations: 34.73 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1708, allocations: 8.844 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.1709, allocations: 176.3 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.171, allocations: 384 / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.171, allocations: 8.375 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/0.1711, allocations: 38.25 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1711, allocations: 3.938 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.1711, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.1711, allocations: 4 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.1711, allocations: 11.98 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1714, allocations: 292.8 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.1715, allocations: 30.5 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.1715, allocations: 12.92 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.1715, allocations: 0 / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.76e-05/0.1716, allocations: 75.31 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1717, allocations: 0 / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001564/0.1718, allocations: 77.53 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.1718, allocations: 51.41 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.1719, allocations: 109.8 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.172, allocations: 29.7 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.172, allocations: 92.12 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/0.172, allocations: 7.906 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.1721, allocations: 29.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.1722, allocations: 314.8 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.1722, allocations: 27.98 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.1723, allocations: 54.55 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1724, allocations: 92.14 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1724, allocations: 0 / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002216/0.1727, allocations: 151.2 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.1727, allocations: 39.73 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1727, allocations: 3.938 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.1727, allocations: 0 / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.1728, allocations: 12.05 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1728, allocations: 0 / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.173, allocations: 28.03 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.173, allocations: 4 kB / 0.7871 GB, free: 9.277 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 6.99e-05/0.1731, allocations: 125.7 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1731, allocations: 8.125 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.1731, allocations: 11.89 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1731, allocations: 4 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1731, allocations: 0 / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1731, allocations: 0 / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1732, allocations: 165.6 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1733, allocations: 4 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.1733, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1733, allocations: 0 / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1733, allocations: 4 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1733, allocations: 0 / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1733, allocations: 0 / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1734, allocations: 96.92 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1734, allocations: 81.02 kB / 0.7875 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1735, allocations: 8 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.1735, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1735, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1735, allocations: 4 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.1736, allocations: 87.27 kB / 0.7876 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1736, allocations: 0 / 0.7876 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001934/0.1738, allocations: 23.94 kB / 0.7877 GB, free: 8.562 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.0003234/0.1741, allocations: 0.6241 MB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1743, allocations: 127.3 kB / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1743, allocations: 0 / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.1743, allocations: 19.97 kB / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.1745, allocations: 4 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1757, allocations: 1.389 MB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1759, allocations: 0.6858 MB / 0.7904 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.1759, allocations: 8.234 kB / 0.7905 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.1759, allocations: 11.44 kB / 0.7905 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.176, allocations: 0 / 0.7905 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.482/2.658, allocations: 1.84 MB / 0.7923 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/2.658, allocations: 212.3 kB / 0.7925 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/4.199, allocations: 0 / 0.7925 GB, free: 3.562 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)