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.0009639/0.0009689, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001005/0.001005, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.694/2.694, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.649/1.649, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005113/0.0005114, allocations: 12.06 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.208, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0006218/0.2086, allocations: 349.8 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2097, allocations: 1.072 MB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.2097, allocations: 4 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.2097, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.2098, allocations: 3.984 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.2102, allocations: 106.2 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.2102, allocations: 47.94 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.2103, allocations: 7.984 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.2104, allocations: 31.92 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.2104, allocations: 15.97 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2105, allocations: 4 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.2105, allocations: 31.84 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.2105, allocations: 0 / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2106, allocations: 33.7 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.544e-05/0.2107, allocations: 63.86 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.2107, allocations: 4 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2107, allocations: 0 / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2107, allocations: 0 / 0.789 GB, free: 10.11 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.0002953/0.211, allocations: 367.9 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.211, allocations: 8.031 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.2111, allocations: 30.56 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.2111, allocations: 4 kB / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.2112, allocations: 186.8 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2112, allocations: 0 / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2112, allocations: 16 kB / 0.7895 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.2113, allocations: 33.69 kB / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-06/0.2113, allocations: 0 / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2113, allocations: 0 / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2113, allocations: 0 / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.2114, allocations: 8 kB / 0.7896 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.2117, allocations: 292.8 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.2118, allocations: 34.52 kB / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.2118, allocations: 0 / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.2119, allocations: 63.45 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2119, allocations: 0 / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.2121, allocations: 73.81 kB / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2121, allocations: 55.39 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.2122, allocations: 109.8 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2122, allocations: 33.7 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.2122, allocations: 84.14 kB / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.2123, allocations: 7.906 kB / 0.7903 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.2123, allocations: 4 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.2124, allocations: 318.7 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.2124, allocations: 35.97 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.2125, allocations: 46.56 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.2126, allocations: 61.69 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2126, allocations: 0 / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001987/0.2128, allocations: 147.3 kB / 0.7909 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.2128, allocations: 33.7 kB / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2128, allocations: 3.984 kB / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2128, allocations: 4 kB / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.2129, allocations: 7.922 kB / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.2129, allocations: 4 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2131, allocations: 39.94 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2131, allocations: 8 kB / 0.791 GB, free: 7.77 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,$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 6.831e-05/0.2132, allocations: 117.8 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.2132, allocations: 3.984 kB / 0.7911 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.2132, allocations: 11.91 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2132, allocations: 0 / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2133, allocations: 4 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2133, allocations: 3.938 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.2134, allocations: 165.6 kB / 0.7913 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2134, allocations: 4 kB / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.2134, allocations: 0 / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2134, allocations: 0 / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2134, allocations: 4 kB / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2134, allocations: 4 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2134, allocations: 0 / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.016e-05/0.2135, allocations: 92.92 kB / 0.7914 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.2135, allocations: 81.09 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.2136, allocations: 0 / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.286e-05/0.2136, allocations: 0 / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.2136, allocations: 4.062 kB / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2136, allocations: 4 kB / 0.7915 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.2136, allocations: 91.27 kB / 0.7915 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2136, allocations: 4 kB / 0.7916 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001901/0.2138, allocations: 15.94 kB / 0.7916 GB, free: 7.066 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 (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.0002973/0.2141, allocations: 0.6344 MB / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.2143, allocations: 123.4 kB / 0.7923 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2143, allocations: 0 / 0.7923 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.2144, allocations: 24.05 kB / 0.7923 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.2145, allocations: 4 kB / 0.7923 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.2149, allocations: 0.6518 MB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.2151, allocations: 0.6809 MB / 0.7936 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.61e-05/0.2151, allocations: 4 kB / 0.7936 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.2152, allocations: 19.42 kB / 0.7937 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2152, allocations: 0 / 0.7937 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4396/0.6548, allocations: 1.739 MB / 0.7954 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.655, allocations: 197.7 kB / 0.7955 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.598, allocations: 64 / 0.7955 GB, free: 2.98 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/linux/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) Environment - environmentSimulation: