Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009617, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00485/0.00485, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.336/1.336, 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.641/1.641, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004827/0.0004827, allocations: 17.84 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1977, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007087/0.1984, allocations: 361.8 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1997, allocations: 1.103 MB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.1998, allocations: 0 / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1998, allocations: 3.938 kB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.1999, allocations: 19.88 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.2003, allocations: 102.7 kB / 0.7895 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2004, allocations: 79.83 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.2005, allocations: 11.98 kB / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.2006, allocations: 23.98 kB / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.2006, allocations: 23.91 kB / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2007, allocations: 4 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.2007, allocations: 19.98 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2008, allocations: 19.91 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.2008, allocations: 49.62 kB / 0.7898 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.201, allocations: 79.77 kB / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.201, allocations: 0 / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.201, allocations: 0 / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.201, allocations: 4 kB / 0.7898 GB, free: 9.551 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.0003515/0.2013, allocations: 357.4 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2014, allocations: 12.03 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.2014, allocations: 34.69 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.2015, allocations: 4.938 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2016, allocations: 180.2 kB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2016, allocations: 4.375 kB / 0.7904 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2016, allocations: 4.375 kB / 0.7904 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.2017, allocations: 46.23 kB / 0.7905 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2017, allocations: 3.938 kB / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2018, allocations: 0 / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2018, allocations: 0 / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.517e-05/0.2018, allocations: 4 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.2022, allocations: 300.8 kB / 0.7908 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.2022, allocations: 30.52 kB / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.2023, allocations: 8.922 kB / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.2023, allocations: 0 / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.2024, allocations: 59.39 kB / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.2024, allocations: 0 / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001777/0.2026, allocations: 81.52 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2026, allocations: 55.41 kB / 0.791 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.2027, allocations: 105.8 kB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2027, allocations: 25.7 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.2028, allocations: 96.08 kB / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.2028, allocations: 11.89 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.2029, allocations: 21.7 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.203, allocations: 314.8 kB / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.632e-05/0.203, allocations: 39.92 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.2031, allocations: 50.55 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.2032, allocations: 88.16 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2033, allocations: 0 / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00025/0.2035, allocations: 155.2 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.2036, allocations: 33.77 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2036, allocations: 4 kB / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.2036, allocations: 0 / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.2036, allocations: 0 / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2036, allocations: 8.328 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.2039, allocations: 43.95 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2039, allocations: 4.062 kB / 0.7919 GB, free: 7.129 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: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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 7.978e-05/0.204, allocations: 121.8 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.204, allocations: 4 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.204, allocations: 3.906 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.204, allocations: 4 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2041, allocations: 3.984 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2041, allocations: 0 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2042, allocations: 161.6 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2042, allocations: 4 kB / 0.7922 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.2042, allocations: 7.984 kB / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2042, allocations: 0 / 0.7922 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2042, allocations: 4 kB / 0.7922 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2042, allocations: 0 / 0.7922 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.2042, allocations: 3.984 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.2044, allocations: 89.14 kB / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.2044, allocations: 81.14 kB / 0.7924 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2044, allocations: 7.984 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.2044, allocations: 4 kB / 0.7924 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.2045, allocations: 0 / 0.7924 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2045, allocations: 4 kB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.2045, allocations: 87.27 kB / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2045, allocations: 3.938 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002085/0.2047, allocations: 20 kB / 0.7925 GB, free: 6.422 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: 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 (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.0003723/0.2051, allocations: 0.6318 MB / 0.7931 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2053, allocations: 127.3 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2054, allocations: 3.938 kB / 0.7933 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.2054, allocations: 12 kB / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.2056, allocations: 20.53 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2069, allocations: 1.397 MB / 0.7947 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2071, allocations: 0.6809 MB / 0.7953 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.2071, allocations: 7.984 kB / 0.7953 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.2072, allocations: 7.438 kB / 0.7953 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2072, allocations: 0 / 0.7953 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.218, allocations: 1.775 MB / 0.7971 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.2182, allocations: 215.3 kB / 0.7973 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.835, allocations: 0 / 0.7973 GB, free: 1.504 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)