Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.473/1.473, allocations: 287.4 MB / 302.6 MB, free: 8.273 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.0009848/0.000985, allocations: 174 kB / 371.1 MB, free: 10.84 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.257/1.257, 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.0007164/0.0007164, allocations: 105.4 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 12.22 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006935/0.1946, allocations: 349.8 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1957, allocations: 1.086 MB / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.1957, allocations: 0 / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1957, allocations: 0 / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.1958, allocations: 15.91 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.1962, allocations: 99.11 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.1963, allocations: 71.83 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.1964, allocations: 11.94 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.1964, allocations: 31.91 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.1965, allocations: 27.95 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1965, allocations: 4 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.304e-05/0.1966, allocations: 15.92 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1966, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1966, allocations: 33.7 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.21e-05/0.1967, allocations: 55.86 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1967, allocations: 4 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1967, allocations: 0 / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1967, allocations: 0 / 0.9805 GB, free: 26.28 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.0003009/0.197, allocations: 369.4 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1971, allocations: 12.02 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.1971, allocations: 34.75 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1972, allocations: 4.938 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.1972, allocations: 172.2 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1973, allocations: 4.375 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1973, allocations: 4.375 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.1974, allocations: 42.25 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1974, allocations: 3.938 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1974, allocations: 4 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1974, allocations: 0 / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.1974, allocations: 11.98 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.1977, allocations: 284.9 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/0.1978, allocations: 38.44 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.1978, allocations: 12.92 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.1978, allocations: 0 / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.1979, allocations: 59.39 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.198, allocations: 0 / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000164/0.1981, allocations: 73.53 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.1982, allocations: 51.41 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.1982, allocations: 117.8 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1982, allocations: 29.7 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.1983, allocations: 92.06 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-06/0.1983, allocations: 7.906 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.1983, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.1984, allocations: 314.8 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.1984, allocations: 31.98 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1985, allocations: 54.55 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.1986, allocations: 96.12 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1986, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001886/0.1988, allocations: 147.4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.1988, allocations: 33.7 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1988, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1989, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.1989, allocations: 12.05 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1989, allocations: 0 / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1991, allocations: 43.95 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1991, allocations: 4 kB / 0.9826 GB, free: 23.88 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: 5 ($whenCondition1,$whenCondition2,booToInt.y,$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.729e-05/0.1992, allocations: 129.7 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.1992, allocations: 7.984 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.1992, allocations: 3.906 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1993, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1993, allocations: 4.062 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1993, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.073e-05/0.1993, allocations: 169.6 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1994, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.1994, allocations: 4 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1994, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1994, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1994, allocations: 4 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1994, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.241e-05/0.1995, allocations: 84.97 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.1995, allocations: 85.09 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1995, allocations: 3.938 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.1995, allocations: 0 / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.1996, allocations: 8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1996, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.1996, allocations: 87.27 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1996, allocations: 7.875 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001884/0.1998, allocations: 20 kB / 0.9832 GB, free: 23.18 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.000253/0.2001, allocations: 0.6258 MB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.2002, allocations: 131.3 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2002, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.2003, allocations: 15.98 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.2004, allocations: 10.23 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.2011, allocations: 0.5146 MB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.2012, allocations: 0.6809 MB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.2012, allocations: 7.984 kB / 0.9851 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.2012, allocations: 11.44 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2012, allocations: 0 / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.2124, allocations: 1.77 MB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/0.2126, allocations: 207 kB / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.424/1.636, allocations: 0 / 0.987 GB, free: 19.24 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)