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.0008016/0.0008017, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005214/0.005214, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.282/1.282, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.638/1.638, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004829/0.0004829, allocations: 13.34 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1917, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007232/0.1924, allocations: 365.8 kB / 0.7884 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1936, allocations: 1.107 MB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.1937, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1937, allocations: 4 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.1938, allocations: 3.938 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1941, allocations: 114.9 kB / 0.7896 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.666e-05/0.1942, allocations: 75.88 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.1943, allocations: 8 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.1943, allocations: 27.92 kB / 0.7897 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.1944, allocations: 23.97 kB / 0.7897 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1944, allocations: 4 kB / 0.7897 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.1945, allocations: 23.97 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1945, allocations: 11.92 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.1946, allocations: 53.62 kB / 0.7898 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1947, allocations: 75.77 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1948, allocations: 7.938 kB / 0.7899 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1948, allocations: 0 / 0.7899 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1948, allocations: 0 / 0.7899 GB, free: 9.586 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.0003562/0.1951, allocations: 361.4 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1952, allocations: 8.031 kB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.1952, allocations: 34.75 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1952, allocations: 4.938 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1954, allocations: 176.2 kB / 0.7904 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1954, allocations: 4.375 kB / 0.7904 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1954, allocations: 4.375 kB / 0.7904 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.1955, allocations: 42.25 kB / 0.7905 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1955, allocations: 7.875 kB / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1955, allocations: 0 / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1955, allocations: 0 / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.1956, allocations: 15.94 kB / 0.7905 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1959, allocations: 288.9 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/0.196, allocations: 30.52 kB / 0.7908 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.196, allocations: 8.922 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.196, allocations: 0 / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.1962, allocations: 67.31 kB / 0.7909 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1962, allocations: 0 / 0.7909 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001805/0.1964, allocations: 77.58 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.1964, allocations: 55.41 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.1965, allocations: 109.8 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1965, allocations: 29.7 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.1966, allocations: 88.14 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.1966, allocations: 7.906 kB / 0.7912 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1966, allocations: 21.7 kB / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.1967, allocations: 314.8 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.1968, allocations: 31.98 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.1969, allocations: 62.48 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.197, allocations: 80.22 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.197, allocations: 0 / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002366/0.1973, allocations: 155.2 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.1973, allocations: 29.7 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1973, allocations: 8.062 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1973, allocations: 0 / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.1974, allocations: 7.938 kB / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1974, allocations: 400 / 0.7919 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1976, allocations: 47.11 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1976, allocations: 12 kB / 0.7919 GB, free: 7.164 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.218e-05/0.1977, allocations: 122.4 kB / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.1978, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.1978, allocations: 11.89 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1978, allocations: 240 / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1978, allocations: 0 / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1978, allocations: 3.984 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1979, allocations: 165.6 kB / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1979, allocations: 0 / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.1979, allocations: 3.984 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1979, allocations: 4 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.198, allocations: 4 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.198, allocations: 0 / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.198, allocations: 3.938 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1981, allocations: 88.91 kB / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.1981, allocations: 77.11 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1981, allocations: 7.984 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.1982, allocations: 0 / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1982, allocations: 7.938 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1982, allocations: 8 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.1982, allocations: 83.27 kB / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1982, allocations: 0 / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002036/0.1984, allocations: 27.94 kB / 0.7925 GB, free: 6.453 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.0003364/0.1988, allocations: 0.6279 MB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.199, allocations: 123.4 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.199, allocations: 0 / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.199, allocations: 19.92 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1992, allocations: 14.8 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2005, allocations: 1.386 MB / 0.7947 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2007, allocations: 0.6809 MB / 0.7953 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.2007, allocations: 8.234 kB / 0.7953 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.2007, allocations: 11.44 kB / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2008, allocations: 0 / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.2113, allocations: 1.779 MB / 0.7971 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.2114, allocations: 218.5 kB / 0.7973 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.783, allocations: 3.938 kB / 0.7973 GB, free: 1.527 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)