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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 99.7 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.001043/0.001043, 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 1.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.632/1.632, 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.0004672/0.0004672, allocations: 18.72 kB / 0.6736 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006903/0.2101, allocations: 348.2 kB / 0.7874 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2113, allocations: 1.073 MB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.2114, allocations: 4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.2114, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.2114, allocations: 11.97 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.2119, allocations: 107.4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.212, allocations: 39.95 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.212, allocations: 4 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.2121, allocations: 35.89 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.2122, allocations: 23.97 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2123, allocations: 8 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.968e-05/0.2123, allocations: 11.98 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.2123, allocations: 11.94 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.539e-05/0.2124, allocations: 33.64 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2125, allocations: 55.86 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2125, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2125, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2125, allocations: 0 / 0.7888 GB, free: 10.2 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.0004019/0.2129, allocations: 373.2 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.213, allocations: 8.031 kB / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.213, allocations: 8 kB / 0.7892 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2132, allocations: 170.9 kB / 0.7894 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.2132, allocations: 0 / 0.7894 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2132, allocations: 8 kB / 0.7894 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.2133, allocations: 41.62 kB / 0.7894 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2134, allocations: 4 kB / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.2134, allocations: 0 / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2134, allocations: 0 / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.2134, allocations: 15.98 kB / 0.7894 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.2138, allocations: 296.8 kB / 0.7897 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.695e-05/0.2139, allocations: 26.56 kB / 0.7897 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.2139, allocations: 3.938 kB / 0.7897 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.2141, allocations: 59.45 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2141, allocations: 0 / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.2143, allocations: 69.69 kB / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2143, allocations: 51.41 kB / 0.7899 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.2144, allocations: 117.7 kB / 0.79 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2144, allocations: 29.7 kB / 0.79 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.2145, allocations: 88.12 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.2145, allocations: 7.906 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2145, allocations: 3.984 kB / 0.7901 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2146, allocations: 326.7 kB / 0.7905 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.2147, allocations: 31.98 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.2148, allocations: 46.56 kB / 0.7905 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.2149, allocations: 57.69 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2149, allocations: 0 / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002214/0.2151, allocations: 151.2 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.2152, allocations: 37.69 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2152, allocations: 4 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2152, allocations: 4.062 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.2152, allocations: 4 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2152, allocations: 0 / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2155, allocations: 38.92 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2155, allocations: 11.92 kB / 0.7908 GB, free: 7.898 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 9.455e-05/0.2156, allocations: 128.5 kB / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.2156, allocations: 0 / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.2156, allocations: 7.891 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2156, allocations: 4 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2157, allocations: 0 / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2157, allocations: 0 / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2158, allocations: 169.6 kB / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2158, allocations: 0 / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.2158, allocations: 0 / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2158, allocations: 4 kB / 0.7911 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2158, allocations: 4 kB / 0.7911 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2159, allocations: 3.984 kB / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2159, allocations: 0 / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.216, allocations: 85.02 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.216, allocations: 81.08 kB / 0.7913 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.216, allocations: 12 kB / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.2161, allocations: 0 / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.2161, allocations: 7.984 kB / 0.7913 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2161, allocations: 4 kB / 0.7913 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.2161, allocations: 83.28 kB / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2161, allocations: 0 / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001995/0.2163, allocations: 19.98 kB / 0.7914 GB, free: 7.195 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.0001189/0.2165, allocations: 99.88 kB / 0.7915 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.2167, allocations: 123.3 kB / 0.7916 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2167, allocations: 128 / 0.7916 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.2167, allocations: 27.92 kB / 0.7917 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.2169, allocations: 11.89 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.2172, allocations: 142.5 kB / 0.7918 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2174, allocations: 0.6809 MB / 0.7925 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.2175, allocations: 7.984 kB / 0.7925 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.2175, allocations: 11.44 kB / 0.7925 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2175, allocations: 0 / 0.7925 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.00273/0.2202, allocations: 0.9781 MB / 0.7934 GB, free: 5.059 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) Environment - environmentSimulation: