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.0007032/0.0007032, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007373/0.0007373, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.587/1.587, allocations: 292.7 MB / 0.5499 GB, free: 14.5 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.0004882/0.0004882, allocations: 16.47 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2373, allocations: 116.3 MB / 0.7874 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007592/0.2381, allocations: 345.9 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2393, allocations: 1.091 MB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2394, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.2394, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.2395, allocations: 11.86 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2399, allocations: 107.5 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.24, allocations: 71.83 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.148e-05/0.2401, allocations: 3.984 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.2401, allocations: 27.92 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.2402, allocations: 31.89 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.2403, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.2403, allocations: 15.98 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.2403, allocations: 4 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.2404, allocations: 37.7 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.788e-05/0.2405, allocations: 55.86 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2405, allocations: 0 / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2405, allocations: 4 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2405, allocations: 0 / 0.7892 GB, free: 9.969 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.0003763/0.2409, allocations: 365.2 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.241, allocations: 12.03 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.241, allocations: 34.5 kB / 0.7896 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.241, allocations: 4 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2411, allocations: 174.9 kB / 0.7897 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2412, allocations: 4 kB / 0.7897 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.2412, allocations: 7.984 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.2413, allocations: 41.69 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2413, allocations: 3.984 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2413, allocations: 0 / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2413, allocations: 0 / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.2414, allocations: 11.94 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2417, allocations: 300.8 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.2418, allocations: 26.58 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.2418, allocations: 12.92 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.2418, allocations: 0 / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.242, allocations: 59.39 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.242, allocations: 0 / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001881/0.2422, allocations: 69.61 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.2422, allocations: 59.41 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.2423, allocations: 113.8 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2424, allocations: 25.7 kB / 0.7904 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.2424, allocations: 84.14 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.2424, allocations: 11.91 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2425, allocations: 0 / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2426, allocations: 318.8 kB / 0.7908 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.2427, allocations: 39.91 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.2427, allocations: 54.88 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.2428, allocations: 61.62 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2428, allocations: 0 / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002208/0.2431, allocations: 147.3 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.2431, allocations: 33.7 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2431, allocations: 80 / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2431, allocations: 8.062 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.2432, allocations: 7.984 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2432, allocations: 7.984 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2434, allocations: 42.75 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2434, allocations: 4 kB / 0.7912 GB, free: 7.605 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,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 8.871e-05/0.2435, allocations: 121.8 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.2435, allocations: 7.984 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.2436, allocations: 3.906 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2436, allocations: 0 / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2436, allocations: 4 kB / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2436, allocations: 0 / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.2437, allocations: 165.6 kB / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2437, allocations: 0 / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.2437, allocations: 11.88 kB / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2437, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2437, allocations: 4 kB / 0.7915 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2438, allocations: 4 kB / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2438, allocations: 0 / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.2439, allocations: 88.97 kB / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.2439, allocations: 77.11 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2439, allocations: 288 / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.2439, allocations: 4 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.244, allocations: 4 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.244, allocations: 4 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.244, allocations: 87.27 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.244, allocations: 0 / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001954/0.2442, allocations: 16 kB / 0.7918 GB, free: 6.91 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 (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.0003725/0.2446, allocations: 0.6358 MB / 0.7924 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.2448, allocations: 127.3 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2448, allocations: 3.938 kB / 0.7925 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.2449, allocations: 15.98 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.245, allocations: 10.92 kB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.2458, allocations: 0.5216 MB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.246, allocations: 0.6809 MB / 0.7937 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.765e-05/0.246, allocations: 0 / 0.7937 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.246, allocations: 15.44 kB / 0.7937 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.246, allocations: 0 / 0.7937 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.2571, allocations: 1.758 MB / 0.7955 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.2574, allocations: 202.7 kB / 0.7957 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.865, allocations: 0 / 0.7957 GB, free: 2.949 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/linux/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) Environment - environmentSimulation: